1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-24 17:16:12 +01:00

- do_maintenancerequest: fixed TypeError ("'NoneType' object is not iterable")

Broken since commit ba7e20bcd1.
This commit is contained in:
Marcus Huewe 2015-09-24 18:25:22 +02:00
parent 070daecaf5
commit cc3979cc7f

View File

@ -3024,7 +3024,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if opts.attribute: if opts.attribute:
maintenance_attribute = opts.attribute maintenance_attribute = opts.attribute
source_project = source_packages = target_project = release_project = opt_sourceupdate = None source_project = target_project = release_project = opt_sourceupdate = None
source_packages = []
if len(args) == 0 and (is_project_dir(os.curdir) or is_package_dir(os.curdir)): if len(args) == 0 and (is_project_dir(os.curdir) or is_package_dir(os.curdir)):
source_project = store_read_project(os.curdir) source_project = store_read_project(os.curdir)