From: Ed Bartosh Date: Fri, 1 Jun 2012 10:42:22 +0000 (+0300) Subject: Fixed bug(calling msger.error with 2 parameters). Simplified error message. X-Git-Tag: 0.7~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=860ce3fbccd98a7d8f155dcf00c2e73277c1ae49;p=tools%2Fgbs.git Fixed bug(calling msger.error with 2 parameters). Simplified error message. Change-Id: Ib420ac55c32b2bb935f618b49908aaee15a0c9ee --- 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.")