unhandled exception
Bug #770729 reported by
Matthias Klose
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Svammel (UNMAINTAINED) |
Fix Released
|
Undecided
|
Mattias Backman |
Bug Description
DEBUG:Svammel:
DEBUG:Svammel:
DEBUG:Svammel:Got archive test-rebuild-
INFO:Svammel:
Traceback (most recent call last):
File "file-failures.py", line 163, in <module>
(log_
File "/home/
fail_build_date = fail_build_
AttributeError: 'NoneType' object has no attribute 'datecreated'
Related branches
lp:~mabac/svammel/bug-770729
- Matthias Klose: Pending requested
-
Diff: 45 lines (+13/-4)2 files modifieddata_parsing.py (+5/-1)
file-failures.py (+8/-3)
Changed in svammel: | |
assignee: | nobody → Mattias Backman (mabac) |
milestone: | none → 0.1.1 |
status: | New → In Progress |
Changed in svammel: | |
status: | In Progress → Fix Committed |
Changed in svammel: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
worked around with:
@@ -197,6 +198,8 @@
def exists_ successful_ later_build( spph, archives, fail_arch): build_record = spph.get_ arch(fail_ arch) build_date = fail_build_ record. datecreated
fail_
+ if fail_build_record == None:
+ return None
fail_
for archive, archive_name in archives:
# Get list of successful builds for the same package