fixed print statements
This commit is contained in:
parent
a97698ae9a
commit
d75e93f235
1 changed files with 7 additions and 7 deletions
|
|
@ -29,7 +29,7 @@ def printerr(message="", errcode=-2, exit=True):
|
|||
message=message, errcode=errcode)
|
||||
|
||||
print
|
||||
print message
|
||||
print(message)
|
||||
print
|
||||
sys.exit(errcode)
|
||||
|
||||
|
|
@ -74,17 +74,17 @@ def print_console(string, prepend="\n\n", append="\n\n", sep="-", numsep=44):
|
|||
numsep - number of times the separator is printed out on a line
|
||||
"""
|
||||
|
||||
print prepend
|
||||
print(prepend)
|
||||
|
||||
if sep:
|
||||
print sep * numsep
|
||||
print(sep * numsep)
|
||||
|
||||
print string
|
||||
print(string)
|
||||
|
||||
if sep:
|
||||
print sep * numsep
|
||||
print(sep * numsep)
|
||||
|
||||
print append
|
||||
print(append)
|
||||
|
||||
|
||||
def print_debug(debugstr, module, function):
|
||||
|
|
@ -319,7 +319,7 @@ def handle_help(param, message, values=None):
|
|||
|
||||
if isinstance(param, str):
|
||||
if param.lower() in values:
|
||||
print message
|
||||
print(message)
|
||||
return True
|
||||
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue