~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/make-lint.py

  • Committer: Stewart Smith
  • Date: 2010-03-18 12:01:34 UTC
  • mto: (1666.2.3 build)
  • mto: This revision was merged to the branch mainline in revision 1596.
  • Revision ID: stewart@flamingspork.com-20100318120134-45fdnsw8g3j6c7oy
move RAND() into a plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
    if not (path.startswith('plugin/') or path.startswith('drizzled/') or
124
124
        path.startswith('client/')):
125
125
        return False
126
 
    # Let's not lint emacs autosave files
127
 
    if (os.path.split(path)[-1].startswith('.#')):
128
 
        return False
129
 
    # We need to figure out how to better express this
130
 
    for exclude in ['innobase', 'pbxt', 'pbms', 'gnulib', '.pb.', 'bak-header', 'm4',
 
126
    for exclude in ['innobase', 'gnulib', '.pb.', 'bak-header', 'm4',
131
127
        'sql_yacc', 'gperf', 'drizzled/probes.h',
132
128
        'drizzled/function_hash.h', 'drizzled/symbol_hash.h',
133
129
        'util/dummy.cc', 'drizzled/sql_yacc.h', 'drizzled/configmake.h',
134
130
        'drizzled/plugin/version.h',
135
 
        'drizzled/generated_probes.h',
136
 
        'drizzled/module/load_list.h']:
 
131
        'drizzled/plugin/load_list.h']:
137
132
        if exclude in path:
138
133
            return False
139
134
    return True