Dolda2000 GitWeb
/
automanga.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d5fcfb
)
Made tag-listing more robust.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 19 Jan 2014 15:20:40 +0000
(16:20 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 19 Jan 2014 15:20:40 +0000
(16:20 +0100)
automanga
patch
|
blob
|
blame
|
history
diff --git
a/automanga
b/automanga
index
98b3c9b
..
e5f0a7a
100755
(executable)
--- a/
automanga
+++ b/
automanga
@@
-79,7
+79,11
@@
def main():
if listtag is not None:
if profile is not None:
for mprof in profile.bytag(listtag):
- mng = mprof.open()
+ try:
+ mng = mprof.open()
+ except KeyError:
+ sys.stderr.write("%s %s: no longer found\n" % (mprof.libnm, mprof.id))
+ continue
sys.stdout.write("%s %s: \"%s\"\n" % (mprof.libnm, mprof.id, mng.name))
return