From 036a8780e209edbbedbb62ac573c0859a22b6e1b Mon Sep 17 00:00:00 2001 From: "Dr. Peter Poeml" Date: Tue, 15 May 2007 21:13:39 +0000 Subject: [PATCH] results: remove obsolete code handling commandline arguments --- osc/commandline.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index b472f6bd..17bdd5c0 100755 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -870,12 +870,8 @@ class Osc(cmdln.Cmdln): ${cmd_option_list} """ - try: - args = parseargs(args) - pacs = findpacs(args) - except: - print >>sys.stderr, '\'%s\' is not an osc package directory' % wd - return 1 + args = parseargs(args) + pacs = findpacs(args) for pac in pacs: print '\n'.join(get_results(pac.apiurl, pac.prjname, pac.name))