Merge lp:~samstoll1/tiqit/autons into lp:tiqit

Proposed by Sam Stoll
Status: Merged
Approved by: Matthew Hall
Approved revision: 12
Merged at revision: 12
Proposed branch: lp:~samstoll1/tiqit/autons
Merge into: lp:tiqit
Diff against target: 12 lines (+1/-1)
1 file modified
scripts/frontend/classes.py (+1/-1)
To merge this branch: bzr merge lp:~samstoll1/tiqit/autons
Reviewer Review Type Date Requested Status
Matthew Hall Approve
Review via email: mp+285398@code.launchpad.net

Commit message

Fix bug where trying to view bugs in some unsupported projects gives 500 error and traceback.

Description of the change

Fix bug where trying to view bugs in some unsupported projects gives 500 error and traceback.

To post a comment you must log in.
Revision history for this message
Matthew Hall (matt.hall) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'scripts/frontend/classes.py'
2--- scripts/frontend/classes.py 2014-11-10 14:11:37 +0000
3+++ scripts/frontend/classes.py 2016-02-08 18:56:24 +0000
4@@ -63,7 +63,7 @@
5
6 fmtpath = search_paths(plugins.get_format_paths() + fmtdirs, fmtname)
7
8- if os.path.exists(fmtpath):
9+ if fmtpath and os.path.exists(fmtpath):
10 with open(fmtpath, 'r') as f:
11 fmt = f.read()
12 elif self.className != 'default':

Subscribers

People subscribed via source and target branches