← Back to team overview

arsenal-devel team mailing list archive

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

 

Looks like this is fixed now

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

-- 
You received this bug notification because you are a member of arsenal-
devel, which is the registrant for arsenal.
https://bugs.launchpad.net/bugs/640864

Title:
  json used but not imported in LaunchpadService.py

Status in Arsenal:
  Fix Released

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