From 4c136424fb4a9150e042e9905b16204cd44aacf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20H=C3=BCwe?= Date: Sat, 4 Aug 2007 21:11:31 +0000 Subject: [PATCH] fix for "osc prjconf -e". --- osc/core.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/osc/core.py b/osc/core.py index 408eb64c..01f5f293 100755 --- a/osc/core.py +++ b/osc/core.py @@ -1057,10 +1057,7 @@ def meta_exists(metatype, else: print >>sys.stderr, 'error getting metadata for type \'%s\' at URL \'%s\':' \ % (metatype, url) - if data: - return data - else: - return None + return data def make_meta_url(metatype, path_args=None): if metatype not in metatypes.keys():