fix update.py
This commit is contained in:
parent
ce09b3bcde
commit
c2ae35cce0
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ if __name__ == "__main__":
|
||||||
run('./update.py', 'postupdate', pandora_old_revno, pandora_new_revno)
|
run('./update.py', 'postupdate', pandora_old_revno, pandora_new_revno)
|
||||||
if not development:
|
if not development:
|
||||||
print 'pan.do/ra is at the latest stable release, you can run "./update dev" to update to the development version'
|
print 'pan.do/ra is at the latest stable release, you can run "./update dev" to update to the development version'
|
||||||
|
os.chdir(join(base, 'pandora'))
|
||||||
diff = get('./manage.py', 'sqldiff', '-a').strip()
|
diff = get('./manage.py', 'sqldiff', '-a').strip()
|
||||||
if diff != '-- No differences':
|
if diff != '-- No differences':
|
||||||
print 'Database has changed, please make a backup and run ./update.py db'
|
print 'Database has changed, please make a backup and run ./update.py db'
|
||||||
|
|
Loading…
Reference in a new issue