Browse Source

Use self.stdout instead of print

Mike Naberezny 12 years ago
parent
commit
f31af40191
1 changed files with 2 additions and 2 deletions
  1. 2 2
      supervisor/options.py

+ 2 - 2
supervisor/options.py

@@ -123,10 +123,10 @@ class Options:
 
         Occurrences of "%s" in are replaced by self.progname.
         """
-        help = self.doc
+        help = self.doc + "\n"
         if help.find("%s") > 0:
             help = help.replace("%s", self.progname)
-        print help,
+        self.stdout.write(help)
         self.exit(0)
 
     def usage(self, msg):