Fix a typo in fill-repodb

This commit is contained in:
Alexander Lakhin 2014-02-06 13:25:34 +04:00
parent c0aa4114f6
commit cf90b2e630

View file

@ -344,7 +344,7 @@ def process_package_worker(num, queue_in, generator, gen_lock, db_struct, repodi
['.debug', '.xz', '.conf', '.py', '.c', '.h', '.hpp', '.png', ['.debug', '.xz', '.conf', '.py', '.c', '.h', '.hpp', '.png',
'.cc', '.cpp', '.sh', '.java', '.pl', '.patch', '.desktop']: '.cc', '.cpp', '.sh', '.java', '.pl', '.patch', '.desktop']:
continue continue
if file_path.startswith('/usr/lib/debug/.build-id') or if file_path.startswith('/usr/lib/debug/.build-id') or \
file_path.endswith('/ld.so.cache'): file_path.endswith('/ld.so.cache'):
continue continue
if re.search(r'\.so($|\.)', file_name) or \ if re.search(r'\.so($|\.)', file_name) or \