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:
1
NEWS
1
NEWS
@@ -1,5 +1,6 @@
|
||||
|
||||
0.126
|
||||
- fix "osc patchinfo" command (crashed before)
|
||||
- fixed SSL proxy support
|
||||
- fixed meta attribute create and set calls
|
||||
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user