void-packages/srcpkgs/python-sqlalchemy-migrate/patches/python3-compat.patch
2015-01-14 16:01:00 +01:00

17 lines
476 B
Diff

--- migrate/versioning/migrate_repository.py
+++ migrate/versioning/migrate_repository.py
@@ -13,12 +13,12 @@
def usage():
"""Gives usage information."""
- print """Usage: %(prog)s repository-to-migrate
+ print("""Usage: %(prog)s repository-to-migrate
Upgrade your repository to the new flat format.
NOTE: You should probably make a backup before running this.
- """ % {'prog': sys.argv[0]}
+ """ % {'prog': sys.argv[0]})
sys.exit(1)