mirror of
https://github.com/haiwen/seahub.git
synced 2025-06-27 07:28:42 +00:00
18 lines
305 B
Python
18 lines
305 B
Python
# coding: UTF-8
|
|
|
|
from upgrade_common import upgrade_db
|
|
|
|
def main():
|
|
try:
|
|
upgrade_db('1.8.0')
|
|
except Exception, e:
|
|
print 'Error:\n', e
|
|
else:
|
|
print '\ndone\n'
|
|
finally:
|
|
print '\nprint ENTER to exit\n'
|
|
raw_input()
|
|
|
|
if __name__ == '__main__':
|
|
main()
|