From 860ce3fbccd98a7d8f155dcf00c2e73277c1ae49 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Fri, 1 Jun 2012 13:42:22 +0300 Subject: [PATCH] Fixed bug(calling msger.error with 2 parameters). Simplified error message. Change-Id: Ib420ac55c32b2bb935f618b49908aaee15a0c9ee --- gitbuildsys/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitbuildsys/utils.py b/gitbuildsys/utils.py index e443663..289eec6 100644 --- a/gitbuildsys/utils.py +++ b/gitbuildsys/utils.py @@ -127,8 +127,7 @@ def guess_spec(workdir, default_spec): if not os.path.exists(specfile): specs = glob.glob('%s/packaging/*.spec' % workdir) if not specs: - msger.error('no spec file found under', - '/packaging sub-directory of %s' % workdir) + msger.error('no spec file found under %s/packaging' % workdir) if len(specs) > 1: msger.error("Can't decide which spec file to use.") -- 2.7.4