remove print statement for python 3 compatibility
This commit is contained in:
parent
3f6463b2c0
commit
2ba9e0eac8
4
dwtt
4
dwtt
@ -11,10 +11,10 @@ from Config import *
|
|||||||
PROGRAM_NAME = 'dwtt'
|
PROGRAM_NAME = 'dwtt'
|
||||||
|
|
||||||
def usage():
|
def usage():
|
||||||
print '''Usage: %s [options] [dbfile]
|
sys.stdout.write('''Usage: %s [options] [dbfile]
|
||||||
Options:
|
Options:
|
||||||
--help Show this help
|
--help Show this help
|
||||||
''' % PROGRAM_NAME
|
''' % PROGRAM_NAME)
|
||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
dbfile = os.path.expanduser('~/.%s.db' % PROGRAM_NAME)
|
dbfile = os.path.expanduser('~/.%s.db' % PROGRAM_NAME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user