Commit cdee710d authored by Andreas Tille's avatar Andreas Tille

Do not fail if some changelog has a broken date format

parent b7f21248
......@@ -523,7 +523,11 @@ class blends_prospective_gatherer(gatherer):
# chlog_date for duplicated package not in UDD
dup_date = " ".join(d['chlog_date'].split()[:-1])
dup_date = datetime.strptime(dup_date, '%a, %d %b %Y %H:%M:%S')
try:
dup_date = datetime.strptime(dup_date, '%a, %d %b %Y %H:%M:%S')
except ValueError, err:
self.log.error("Wrong Date format in source %s in Blend %s (%s)" % (p['source'], sprosp['blend'], str(err)))
continue
# compare the chlog_date of the UDD package and its duplicate
# if udd_date > dup_date -> do nothing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment