json used but not imported in LaunchpadService.py

Bug #640864 reported by Brian Murray on 2010-09-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
arsenal
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) on 2010-09-17
Changed in arsenal:
status: New → Fix Committed
assignee: nobody → Brad Figg (brad-figg)
importance: Undecided → Critical
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  Edit
Everyone can see this information.

Other bug subscribers