1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-06 15:43:39 +02:00

fix patchinfo command, not crashing anymore

Conflicts:

	NEWS
This commit is contained in:
2010-01-27 13:16:26 +01:00
parent 97a6a9e63c
commit 293d03536f
2 changed files with 4 additions and 0 deletions

1
NEWS
View File

@@ -1,5 +1,6 @@
0.126
- fix "osc patchinfo" command (crashed before)
- fixed SSL proxy support
- fixed meta attribute create and set calls

View File

@@ -389,6 +389,9 @@ class Osc(cmdln.Cmdln):
query += "&name=" + args[0]
url = makeurl(apiurl, ['source', project], query=query)
f = http_POST(url)
for p in meta_get_packagelist(apiurl, project):
if p.startswith("_patchinfo:"):
patchinfo = p
if not os.path.exists(project_dir + "/" + patchinfo):
checkout_package(apiurl, project, patchinfo, prj_dir=project_dir)