Thanks for your patch. Could you specify what version of Sysmonitor are you using? The most recent version (0.1.6+) in Screenlets Developers PPA (https://launchpad.net/~screenlets-dev/+archive/ppa, source code http://bazaar.launchpad.net/~indiv-screenlets-dev/indiv- screenlets/trunk/view/head:/src/Sysmonitor/SysmonitorScreenlet.py) does not seem to have the problem you are trying to fix. Maybe you should try the version from PPA and see if the how it works for you. If the bug is still there, I'd be happy to apply the patch for it.
-- You received this bug notification because you are a member of Individual Screenlets Developers, which is subscribed to Individual Screenlets. https://bugs.launchpad.net/bugs/790745 Title: SysmonitorScreenlet.py throwing unreferenced variable error Status in Screenlets — individual widgets development: New Bug description: Small bugfix for the sysmonitor screenlet, which throws the following error message on every refresh: UnboundLocalError: local variable 'b' referenced before assignment Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/screenlets/__init__.py", line 1942, in expose self.on_draw(ctx) File "/usr/share/screenlets/screenlets-pack-basic/Sysmonitor/SysmonitorScreenlet.py", line 676, in on_draw m = m + 60 + b -- Mailing list: https://launchpad.net/~indiv-screenlets-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~indiv-screenlets-dev More help : https://help.launchpad.net/ListHelp

