https://bugzilla.novell.com/show_bug.cgi?id=849629
https://bugzilla.novell.com/show_bug.cgi?id=849629#c2
--- Comment #2 from Michael Meeks 2013-11-11 10:39:21 UTC ---
Good point - I don't need the update_moblin_mirrors.py ;-) removing that I get:
Traceback (most recent call last):
File "/usr/bin/osc", line 24, in <module>
osccli = commandline.Osc()
File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 82, in
__init__
self._load_plugins()
File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 8023, in
_load_plugins
mod = imp.load_source(modname, os.path.join(plugin_dir, extfile))
File "/home/michael/.osc-plugins/update_package_cache.py", line 12, in
<module>
@cmdln.option ('-d', '--destdir', metavar='DIR',
NameError: name 'cmdln' is not defined
I guess it might be nicer to have some "your plugin is incompatible - please
remove it" or something - I had no memory of installing any of these ;-)
Removing the update_package_cache.py - I got the same error for:
osc-plugins/link_mirror_project.py
Removing that leaves me with only:
$ ls ~/.osc-plugins/
build_product_image.py build_product_image.pyc
Which still appears to work (fair enough) - but I'll kill it anyway.
It'd be great to have some nicer error message that gives some hints on
cleaning that up =)
Thanks !
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.