hp-doctor:137:install_plugin:NameError: global name 'sts' is not defined

Bug #1153555 reported by Jiri Popelka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned

Bug Description

Additional info:
cmdline: /usr/bin/python /usr/bin/hp-doctor -i -w

Traceback (most recent call last):
  File "/usr/bin/hp-doctor", line 323, in <module>
    install_plugin(core)
  File "/usr/bin/hp-doctor", line 137, in install_plugin
    if sts == 0:
NameError: global name 'sts' is not defined

Local variables in innermost frame:
core: <check.DependenciesCheck object at 0xb7297fac>
user_input: 'y'
cmd: 'su -c "/usr/bin/hp-plugin -i -s "'
ok: True
plugin_sts: '-1'

Revision history for this message
Jiri Popelka (jpopelka) wrote :
Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) wrote :

Hi Jiri,

Thank you for the patch.

Regards,
Amarnath

Changed in hplip:
status: New → Fix Committed
Changed in hplip:
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.