[opensuse-buildservice] Re: [opensuse-svn] r7243 - in trunk/buildservice/src/clientlib/python/osc: . osc
Hi, On Mon, May 04, 2009 at 01:07:10PM -0600, Novell Forge SVN wrote:
Author: AdrianSuSE Date: 2009-05-04 13:07:05 -0600 (Mon, 04 May 2009) New Revision: 7243
Modified: trunk/buildservice/src/clientlib/python/osc/NEWS trunk/buildservice/src/clientlib/python/osc/osc/cmdln.py trunk/buildservice/src/clientlib/python/osc/osc/commandline.py trunk/buildservice/src/clientlib/python/osc/osc/conf.py Log: Consolidating delete commands: * obsolete deletepac and deleteprj to delete and rdelete commands. - enable package tracking by default
This doesn't work for me (osc r7264): poeml@batavia510 ~ % osc rdelete home:poeml:branches:Subversion Traceback (most recent call last): File "/suse/poeml/bin/osc", line 12, in <module> r = babysitter.run(osccli) File "/suse/poeml/osc-trunk/osc/babysitter.py", line 38, in run return prg.main() File "/suse/poeml/osc-trunk/osc/cmdln.py", line 255, in main return self.cmd(args) File "/suse/poeml/osc-trunk/osc/cmdln.py", line 278, in cmd retval = self.onecmd(argv) File "/suse/poeml/osc-trunk/osc/cmdln.py", line 394, in onecmd return self._dispatch_cmd(handler, argv) File "/suse/poeml/osc-trunk/osc/cmdln.py", line 1084, in _dispatch_cmd return handler(argv[0], opts, *args) File "/suse/poeml/osc-trunk/osc/commandline.py", line 1001, in do_rdelete elif len(meta_get_packagelist(conf.config['apiurl'], project)) >= 1 and not opts.force: NameError: global name 'project' is not defined [1] 5651 exit 1 osc rdelete home:poeml:branches:Subversion It seems that the failure is caused by a wrong variable name, "project" instead of "prj", in one place. I'll commit this as a fix, assuming that it's the entire problem. Peter -- Contact: admin@opensuse.org (a.k.a. ftpadmin@suse.com) #opensuse-mirrors on freenode.net Info: http://en.opensuse.org/Mirror_Infrastructure SUSE LINUX Products GmbH Research & Development
participants (1)
-
Peter Poeml