diff options
author | Robert Buchholz <rbu@goodpoint.de> | 2008-08-26 14:06:30 +0200 |
---|---|---|
committer | Robert Buchholz <rbu@goodpoint.de> | 2008-08-26 14:06:30 +0200 |
commit | 0e609ca1086c17b04450603d4a925cc9532d9da8 (patch) | |
tree | d7af40208c8ffee8a985fd615eb411c4a7b1a245 | |
parent | pass != return (diff) | |
download | distindex-0e609ca1086c17b04450603d4a925cc9532d9da8.tar.gz distindex-0e609ca1086c17b04450603d4a925cc9532d9da8.tar.bz2 distindex-0e609ca1086c17b04450603d4a925cc9532d9da8.zip |
-rwxr-xr-x | distfiles-indexer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distfiles-indexer.py b/distfiles-indexer.py index 5d14915..c9128b3 100755 --- a/distfiles-indexer.py +++ b/distfiles-indexer.py @@ -37,7 +37,7 @@ class ArchiveInfo: def write_info(self, outfiledir): - outfilename = "%s.%s.INDEX" % (self.basename, self.mtime) + outfilename = "%s/%s.%s.INDEX" % (outfiledir, self.basename, self.mtime) if os.path.exists(outfilename): return @@ -151,7 +151,7 @@ def main(): try: a = ArchiveInfo(infilename) filename = a.write_info(outdir) - except Error, e: + except Exception, e: print infilename, " could not be opened: %s" % str(e) def usage(programname): |