← Back to team overview

arsenal-devel team mailing list archive

[Bug 640864] Re: json used but not imported in LaunchpadService.py

 

** Changed in: arsenal
       Status: New => Fix Committed

** Changed in: arsenal
     Assignee: (unassigned) => Brad Figg (brad-figg)

** Changed in: arsenal
   Importance: Undecided => Critical

-- 
json used but not imported in LaunchpadService.py
https://bugs.launchpad.net/bugs/640864
You received this bug notification because you are a member of arsenal-
devel, which is the registrant for arsenal.

Status in Arsenal: Fix Committed

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





References