Fixed bug(calling msger.error with 2 parameters). Simplified error message.
authorEd Bartosh <eduard.bartosh@intel.com>
Fri, 1 Jun 2012 10:42:22 +0000 (13:42 +0300)
committerEd Bartosh <eduard.bartosh@intel.com>
Mon, 4 Jun 2012 10:11:19 +0000 (13:11 +0300)
Change-Id: Ib420ac55c32b2bb935f618b49908aaee15a0c9ee

gitbuildsys/utils.py

index e443663..289eec6 100644 (file)
@@ -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.")