Use Python3's print function.
This commit is contained in:
@@ -142,7 +142,8 @@ class BaseCommandParent(object):
|
|||||||
|
|
||||||
def run(self, args):
|
def run(self, args):
|
||||||
super(SomeCommand, self).run(args)
|
super(SomeCommand, self).run(args)
|
||||||
print(args.extra_arg)
|
if args.extra_arg:
|
||||||
|
pass
|
||||||
"""
|
"""
|
||||||
|
|
||||||
arguments = ({
|
arguments = ({
|
||||||
|
|||||||
@@ -1,11 +1,14 @@
|
|||||||
"""
|
"""
|
||||||
Serve command for Pecan.
|
Serve command for Pecan.
|
||||||
"""
|
"""
|
||||||
|
from __future__ import print_function
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
import six
|
||||||
|
|
||||||
from pecan.commands import BaseCommand
|
from pecan.commands import BaseCommand
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user