Skip to content

Commit

Permalink
we need to specify the target or the API will do some invalid magic
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Sep 23, 2014
1 parent c052b17 commit 9a01eb0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions copy-to-132.py
Expand Up @@ -11,7 +11,6 @@
import re

os.environ['OSC_CONFIG'] = os.path.expanduser('~/.oscrc-syncer')
os.unlink(os.path.expanduser('~/.osc_cookiejar'))

#initialize osc config
osc.conf.get_config()
Expand Down Expand Up @@ -66,7 +65,7 @@ def create_submit(project=None, package=None, rev=None, md5=None):
text = "<request type='submit'>\n"
text += " <submit>\n"
text += " <source project='" + project + "' package='" + package + "' rev='" + md5 + "'/>\n"
text += " <target project='openSUSE:13.2'/>\n"
text += " <target project='openSUSE:13.2' package='" + package + "'/>\n"
text += " </submit>\n"
text += " <description>Submit revision " + rev + " of openSUSE:Factory/" + package + "</description>\n"
text += "</request>"
Expand Down Expand Up @@ -151,4 +150,3 @@ def find_request_md5s(package):
print "delete package 13.2/%s-%s" % ( package, d132[package] )
create_delete(package)

os.unlink(os.path.expanduser('~/.osc_cookiejar'))

0 comments on commit 9a01eb0

Please sign in to comment.