remove print statement for python 3 compatibility
This commit is contained in:
1 parent
3f6463b2c0
commit
2ba9e0eac8
1 file changed
+2
-2
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user