Bug 820528 - Running tito release --all fails with TypeError: argument of type 'NoneType' is not iterable
Running tito release --all fails with TypeError: argument of type 'NoneType' ...
Product: Fedora
Classification: Fedora
Component: tito (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Devan Goodwin
Fedora Extras Quality Assurance
Depends On:
Blocks: 831957
  Show dependency treegraph
Reported: 2012-05-10 06:03 EDT by Jan Pazdziora
Modified: 2012-06-14 03:54 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 831957 (view as bug list)
Last Closed: 2012-05-10 08:31:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Pazdziora 2012-05-10 06:03:26 EDT
Description of problem:

Running tito release --all fails with TypeError: argument of type 'NoneType' is not iterable

Version-Release number of selected component (if applicable):

# rpm -q tito

How reproducible:


Steps to Reproduce:
1. Run tito release --all.
Actual results:

Releasing to target: git
Traceback (most recent call last):
  File "/usr/bin/tito", line 23, in <module>
  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 617, in main
  File "/usr/lib/python2.7/site-packages/tito/release.py", line 349, in __init__
    global_config, user_config, target, releaser_config, no_cleanup)
  File "/usr/lib/python2.7/site-packages/tito/release.py", line 59, 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
  File "/usr/lib/python2.7/site-packages/tito/distributionbuilder.py", line 18, in __init__
    global_config, user_config, options)
  File "/usr/lib/python2.7/site-packages/tito/builder.py", line 640, in __init__
    args=args, **kwargs)
  File "/usr/lib/python2.7/site-packages/tito/builder.py", line 465, in __init__
    args=args, **kwargs)
  File "/usr/lib/python2.7/site-packages/tito/builder.py", line 87, in __init__
    if 'test' in args:
TypeError: argument of type 'NoneType' is not iterable

Expected results:

No error, jobs submitted to dist-git.

Additional info:
Comment 1 Devan Goodwin 2012-05-10 08:31:36 EDT
Should be fixed in 0.4.8, available in testing or the devel repo. Just submitted for stable to Fedora / EPEL after seeing this.
Comment 2 Jan Pazdziora 2012-05-10 09:52:33 EDT
Thank you, I confirm that upgrading with

# yum --enablerepo=updates-testing upgrade tito



fixed the problem.

Note You need to log in before you can comment on or make changes to this bug.