← Back to team overview

arsenal-devel team mailing list archive

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

 

Public bug reported:

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

** Affects: arsenal
     Importance: Undecided
         Status: New

-- 
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: New

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





Follow ups

References