only print reload message if something changed
This commit is contained in:
parent
97d9f03c8b
commit
4711d2be9c
1 changed files with 1 additions and 1 deletions
|
@ -78,5 +78,5 @@ if __name__ == "__main__":
|
|||
diff = get('./manage.py', 'sqldiff', '-a').strip()
|
||||
if diff != '-- No differences':
|
||||
print 'Database has changed, please make a backup and run ./update.py database'
|
||||
else:
|
||||
elif current != new:
|
||||
reload_notice(base)
|
||||
|
|
Loading…
Reference in a new issue