1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00

revert a senseless part of last commit

This commit is contained in:
Adrian Schröter 2009-04-17 12:04:45 +00:00
parent 89e2e73dca
commit b7ea9b64c0

View File

@ -931,7 +931,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
nodevelproject=opts.nodevelproject, rev=opts.revision, target_project=tproject, target_package=tpackage)
expected = 'home:%s:branches:%s' % (conf.config['user'], args[0])
if len(args) == 2 and r != expected:
if r != expected:
devloc = r.split('branches:')[1]
print '\nNote: The branch has been created of a different project,\n' \
' %s,\n' \