json used but not imported in LaunchpadService.py

Bug #640864 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
arsenal
Fix Released
Critical
Brad Figg

Bug Description

If you happen to have a .lpltkrc file LaunchpadService.py will crash right away.

Traceback (most recent call last):
  File "./qa-bug-status-report.py", line 25, in <module>
    lp = LaunchpadService()
  File "/home/brian/source_trees/arsenal/scripts/lpltk/LaunchpadService.py", line 72, in __init__
    self._load_user_config()
  File "/home/brian/source_trees/arsenal/scripts/lpltk/LaunchpadService.py", line 148, in _load_user_config
    user_config = json.load(f)
NameError: global name 'json' is not defined

Brad Figg (brad-figg)
Changed in arsenal:
status: New → Fix Committed
assignee: nobody → Brad Figg (brad-figg)
importance: Undecided → Critical
Revision history for this message
Bryce Harrington (bryce) wrote :

Looks like this is fixed now

Changed in arsenal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.