Commits

Anonymous committed 661ccce Draft

Python3-compliant print

Comments (0)

Files changed (2)

 #!/usr/bin/env python
 """ Launches WSGI server process hosting WebSocketApp
 """
+from __future__ import print_function
 import logging
 import signal
 import sys
 def sig_handler(signum, frame):
     """ Handles abortion; e.g. by pressing CTRL+C
     """
-    print "sig_handler: %s %s" % (signum, frame)
+    print("sig_handler: %s %s" % (signum, frame))
     sys.exit(1)
 
 
 Distutils setup script for araldo module.
 """
 
+from __future__ import print_function
 from setuptools import setup, find_packages
 import araldo
 
-print "VERSION", araldo.VERSION
+print("VERSION %s" % araldo.VERSION)
 
 
 setup(