[LNT] r240195 - Don't warn that __init__.py is not an upgrade script: we know
Chris Matthews
cmatthews5 at apple.com
Fri Jun 19 16:48:30 PDT 2015
Author: cmatthews
Date: Fri Jun 19 18:48:30 2015
New Revision: 240195
URL: http://llvm.org/viewvc/llvm-project?rev=240195&view=rev
Log:
Don't warn that __init__.py is not an upgrade script: we know
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=240195&r1=240194&r2=240195&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/migrate.py (original)
+++ lnt/trunk/lnt/server/db/migrate.py Fri Jun 19 18:48:30 2015
@@ -64,7 +64,7 @@ def _load_migrations():
schema_migrations = {}
for item in os.listdir(schema_migrations_path):
# Ignore certain known non-scripts.
- if item in ('README.txt',) or item.endswith('.pyc'):
+ if item in ('README.txt', '__init__.py') or item.endswith('.pyc'):
continue
# Ignore non-matching files.
More information about the llvm-commits
mailing list