running libfuturize.fixes.fix_print_with_import
This commit is contained in:
1 parent
36ca754c77
commit
48e10a3793
36 files changed
+240
-204
No files matched your search
@@ -1,3 +1,4 @@
|
||||
from __future__ import print_function
|
||||
# The following code is not part of Rocket but was added to
|
||||
# web2py for testing purposes.
|
||||
|
||||
@@ -42,7 +43,7 @@ def demo():
|
||||
(options, args) = parser.parse_args()
|
||||
global static_folder
|
||||
static_folder = options.static
|
||||
print 'Rocket running on %s:%s' % (options.ip, options.port)
|
||||
print('Rocket running on %s:%s' % (options.ip, options.port))
|
||||
r = Rocket((options.ip, int(options.port)), 'wsgi', {'wsgi_app': demo_app})
|
||||
r.start()
|
||||
|
||||
|
||||
Reference in new issue
Block a user