dgoodwin/tito — Issue #28: class CvsRelease do not have args argument in __init__()
Author: xsuchy
Created: 2011-12-09 15:44:13+00:00
State: open

I got this traceback
$ tito release --all
Will release to the following targets: cvs
Checking for tag [spacewalk-remote-utils-1.0.2-9-sat] in git repo [git+ssh://msuchy@[SNIP]satellite.git]
Releasing to target: cvs
Traceback (most recent call last):
File "/usr/bin/tito", line 23, in
CLI().main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/tito/cli.py", line 94, in main
return module.main(argv)
File "/usr/lib/python2.7/site-packages/tito/cli.py", line 602, in main
no_cleanup=self.options.no_cleanup)
File "/usr/lib/python2.7/site-packages/tito/release.py", line 528, in __init__
global_config, user_config, target, releaser_config, no_cleanup)
File "/usr/lib/python2.7/site-packages/tito/release.py", line 60, in __init__
build_dir, global_config, user_config, self.builder_args)
File "/usr/lib/python2.7/site-packages/tito/common.py", line 131, in create_builder
args=args)
TypeError: __init__() got an unexpected keyword argument 'args'

You probably do not want to pass args to constructor or add it to releasers.

[msuchy@dri/~/rhn/satellite.git/rel-eng{satellite-5.4}]$ cat releasers.conf
[cvs]
releaser = tito.release.CvsReleaser
cvsroot = [SNIP]
branches = SATELLITE-5_4-RHEL-5 SATELLITE-5_4-RHEL-6
[msuchy@dri/~/rhn/satellite.git/rel-eng{satellite-5.4}]$ cat tito.props
[globalconfig]
lib_dir=rel-eng/lib/
default_builder = distributionbuilder.DistributionBuilder
default_tagger = spacewalk.releng.tagger.ReleaseTagger