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:
@@ -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=' ')
|
||||
|
Reference in New Issue
Block a user