summaryrefslogtreecommitdiff
path: root/pecan/commands
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2013-05-03 11:00:16 -0400
committerRyan Petrello <lists@ryanpetrello.com>2013-05-03 11:00:16 -0400
commit1b94b518b2eff65a9a906495b1a3352c5c53df7c (patch)
tree748b3029823f7afbed76cc8af467178d87c3ac7f /pecan/commands
parenta4867e30c696ba7aafbfd190ed1071c114deec76 (diff)
downloadpecan-1b94b518b2eff65a9a906495b1a3352c5c53df7c.tar.gz
Use Python3's print function.
Diffstat (limited to 'pecan/commands')
-rw-r--r--pecan/commands/base.py3
-rw-r--r--pecan/commands/serve.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/pecan/commands/base.py b/pecan/commands/base.py
index e076b39..2a79ca5 100644
--- a/pecan/commands/base.py
+++ b/pecan/commands/base.py
@@ -142,7 +142,8 @@ class BaseCommandParent(object):
def run(self, args):
super(SomeCommand, self).run(args)
- print(args.extra_arg)
+ if args.extra_arg:
+ pass
"""
arguments = ({
diff --git a/pecan/commands/serve.py b/pecan/commands/serve.py
index ef5ad8f..1a049ff 100644
--- a/pecan/commands/serve.py
+++ b/pecan/commands/serve.py
@@ -1,11 +1,14 @@
"""
Serve command for Pecan.
"""
+from __future__ import print_function
import os
import sys
import time
import subprocess
+import six
+
from pecan.commands import BaseCommand