Schoenheit
This commit is contained in:
parent
fe5a731dfd
commit
259099665a
1 changed files with 2 additions and 2 deletions
|
@ -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":
|
||||||
|
|
Loading…
Reference in a new issue