[LNT] r309409 - Fix warning: ignoring item 'util.py'
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 28 11:02:43 PDT 2017
Author: matze
Date: Fri Jul 28 11:02:43 2017
New Revision: 309409
URL: http://llvm.org/viewvc/llvm-project?rev=309409&view=rev
Log:
Fix warning: ignoring item 'util.py'
Modified:
lnt/trunk/lnt/server/db/migrate.py
Modified: lnt/trunk/lnt/server/db/migrate.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/migrate.py?rev=309409&r1=309408&r2=309409&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/migrate.py (original)
+++ lnt/trunk/lnt/server/db/migrate.py Fri Jul 28 11:02:43 2017
@@ -66,8 +66,8 @@ def _load_migrations():
schema_migrations = {}
for item in os.listdir(schema_migrations_path):
# Ignore certain known non-scripts.
- if item in ('README.txt', '__init__.py', 'new_suite.py') or \
- item.endswith('.pyc'):
+ if item in ('README.txt', '__init__.py', 'new_suite.py',
+ 'util.py') or item.endswith('.pyc'):
continue
# Ignore non-matching files.
More information about the llvm-commits
mailing list