kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix syntax error in apntool.py
Old-style exceptions are syntax errors in Python 3 while new-style exceptions work as expected on both Python 2 and Python 3. Closes #10622fork-5.53.8
rodzic
c149e008fd
commit
84a61b01ca
|
@ -96,7 +96,7 @@ try:
|
|||
print("\nTo include this in the distribution, copy it to the project's assets/databases/ directory.")
|
||||
print("If you support API 10 or lower, you must use the gzipped version to avoid corruption.")
|
||||
|
||||
except sqlite3.Error, e:
|
||||
except sqlite3.Error as e:
|
||||
if connection:
|
||||
connection.rollback()
|
||||
print("Error: %s" % e.args[0])
|
||||
|
|
Ładowanie…
Reference in New Issue