From: Chris Wilkes Date: Fri, 27 Sep 2013 02:56:24 +0000 (-0700) Subject: Use the next() function instead of .next() for python3 X-Git-Tag: rel_0_6_1~24^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10ec8e2e514f1b61c98fe58f6dbf3ab6807abb04;p=thirdparty%2Fsqlalchemy%2Falembic.git Use the next() function instead of .next() for python3 --- diff --git a/alembic/command.py b/alembic/command.py index 26fc148c..a44788da 100644 --- a/alembic/command.py +++ b/alembic/command.py @@ -13,7 +13,7 @@ def list_templates(config): config.get_template_directory(), tempname, 'README')) as readme: - synopsis = readme.next() + synopsis = next(readme) config.print_stdout("%s - %s", tempname, synopsis) config.print_stdout("\nTemplates are used via the 'init' command, e.g.:")