mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-01 23:46:53 +00:00
Initial commit of Seafile server core.
This commit is contained in:
19
scripts/upgrade/win32/py/upgrade_3.1_4.0.py
Normal file
19
scripts/upgrade/win32/py/upgrade_3.1_4.0.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# coding: UTF-8
|
||||
|
||||
import os
|
||||
|
||||
from upgrade_common import install_path, ccnet_dir, seafile_dir, upgrade_db, run_argv
|
||||
|
||||
def main():
|
||||
try:
|
||||
upgrade_db('4.0.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()
|
Reference in New Issue
Block a user