1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-07 18:30:27 +00:00

Upadte to python3.

This commit is contained in:
ly1217
2019-06-27 22:30:31 -07:00
parent d6fec719c7
commit c73916ef77
109 changed files with 407 additions and 14614 deletions

View File

@@ -11,6 +11,7 @@ Then you can import the .sql file into MySql
Note - you need to add foreign key constrains manually since sqlite doesn't actually support them
"""
from __future__ import print_function
import re
import fileinput
@@ -80,4 +81,4 @@ for line in fileinput.input():
line = line.replace('"', '`')
line = line.replace('AUTOINCREMENT', 'AUTO_INCREMENT')
print line,
print(line, end=' ')