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

Proposed by Sam Stoll
Status: Rejected
Rejected by: Sam Stoll
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
Ensoft Open Source Pending
Review via email: mp+285396@code.launchpad.net

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.
lp:~samstoll1/tiqit/autons updated
12. By Sam Stoll <email address hidden>

Fix typo

Unmerged revisions

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:55:37 +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