projects
/
pgarchives.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abc8ba5
)
Turn more into ignorable exceptions so we can collect them all for one round of parsing
author
Magnus Hagander
<magnus@hagander.net>
Mon, 25 Jun 2012 16:12:02 +0000
(18:12 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Mon, 25 Jun 2012 16:12:02 +0000
(18:12 +0200)
loader/lib/parser.py
patch
|
blob
|
blame
|
history
diff --git
a/loader/lib/parser.py
b/loader/lib/parser.py
index 47f0ff2ea181c41a05c99da10ee796596204bd4f..4c95445ee7ee68744c0cd042a530ff426a4b3256 100644
(file)
--- a/
loader/lib/parser.py
+++ b/
loader/lib/parser.py
@@
-232,8
+232,7
@@
class ArchivesParser(object):
dp = datetime.datetime(*dp.utctimetuple()[:6])
return dp
except Exception, e:
- log.log("Failed to parse date '%s'" % d)
- raise e
+ raise IgnorableException("Failed to parse date '%s': %s" % (d, e))
def _decode_mime_header(self, hdr):
if hdr == None: