Schoenheit

This commit is contained in:
Stefan Bethke 2010-12-18 09:11:46 +00:00
parent fe5a731dfd
commit 259099665a

View file

@ -1,6 +1,6 @@
#!/usr/bin/python #!/usr/bin/python
# $Schlepperbande$ # $Schlepperbande: src/tivomirror/dbtool,v 1.1 2010/08/07 09:04:37 stb Exp $
import anydbm import anydbm
import getopt import getopt
@ -24,7 +24,7 @@ downloaddb = anydbm.open("tivo/.downloads", "c")
for (o, a) in optlist: for (o, a) in optlist:
if o == "-l": if o == "-l":
for i in sorted(downloaddb.keys()): for i in sorted(downloaddb.keys()):
print "%s: %s" % (i, downloaddb[i]) print "%s:\t%s" % (i, downloaddb[i])
elif o == "-d": elif o == "-d":
del downloaddb[a] del downloaddb[a]
elif o == "-a": elif o == "-a":