From 0f1ae28bf01f416eb73c5c4d3772e41f35d66445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 11 Nov 2011 10:51:24 +0100 Subject: [PATCH] - new patchinfo is now default on server, old format not anymore supported on purpose. So removing the switch is also on purpose to make people aware of it. --- osc/commandline.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index 305e30b4..3c91a156 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -427,8 +427,6 @@ class Osc(cmdln.Cmdln): @cmdln.option('-f', '--force', action='store_true', help='force generation of new patchinfo file') - @cmdln.option('-n', '--new', action='store_true', - help='Use new, OBS 2.3 style patchinfo format. Will become default on release of OBS 2.3.') @cmdln.option('--force-update', action='store_true', help='drops away collected packages from an already built patch and let it collect again') def do_patchinfo(self, subcmd, opts, *args): @@ -457,8 +455,6 @@ class Osc(cmdln.Cmdln): if opts.force or not patchinfo: print "Creating initial patchinfo..." query='cmd=createpatchinfo' - if opts.new: - query+='&new_format=1' if args and args[0]: query += "&name=" + args[0] url = makeurl(apiurl, ['source', project], query=query)