Fix multiply lines error
authorLin Yang <lin.a.yang@intel.com>
Mon, 8 Jul 2013 06:37:50 +0000 (14:37 +0800)
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>
Mon, 8 Jul 2013 09:13:06 +0000 (02:13 -0700)
Change-Id: Ib6a2020442baa3b1eb3490bb98e9ef0cfde43907
Signed-off-by: Lin Yang <lin.a.yang@intel.com>
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
common/tempbuildpkg.py
job_submitobs.py

index 6804116..e85d437 100644 (file)
@@ -175,12 +175,12 @@ class TempPackageBuild:
             message = ''):
         """ Use gbs remotebuild to send local git tree to OBS as obs package """
         if not self._bs.get_targets(dest_project):
-            print '\n----------\nOBS %s project do not have repo setting, quit'
-            'build check against to it\n----------' % dest_project
+            print '\n----------\nOBS %s project do not have repo setting, ' \
+                    'quit build check against to it\n----------' % dest_project
             return 'NoRepo'
         with open('%s/packaging/git_info' % git_project, 'w') as _fh:
             _fh.write(message)
-        runner.show("gbs -v rb --include-all -B %s -T %s --spec %s"
+        runner.show("gbs -v rb --include-all -B %s -T %s --spec %s " \
                 "--packaging-dir %s %s" % (dest_project, self.project, spec,
                         packagingdir, git_project))
         os.remove("%s/packaging/git_info" % git_project)
index 01a7377..6041e37 100755 (executable)
@@ -385,7 +385,7 @@ def main():
                     if tmppkg.is_new_pkg():
                         tmppkg.commit("Leave an empty package in this "\
                                 "project to prevent OBS delete it "\
-                                "automatically when all request from "
+                                "automatically when all request from "\
                                 "here are accepted.")
 
                 print '\nCheckout %s/%s to local' % (obs_stg_prj, spec.name)