From a9c8d2d0a4a113ff7f9491d308157bdde6bc02ef Mon Sep 17 00:00:00 2001 From: Lin Yang Date: Mon, 8 Jul 2013 14:37:50 +0800 Subject: [PATCH] Fix multiply lines error Change-Id: Ib6a2020442baa3b1eb3490bb98e9ef0cfde43907 Signed-off-by: Lin Yang Signed-off-by: Lingchaox Xin --- common/tempbuildpkg.py | 6 +++--- job_submitobs.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/tempbuildpkg.py b/common/tempbuildpkg.py index 6804116..e85d437 100644 --- a/common/tempbuildpkg.py +++ b/common/tempbuildpkg.py @@ -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) diff --git a/job_submitobs.py b/job_submitobs.py index 01a7377..6041e37 100755 --- a/job_submitobs.py +++ b/job_submitobs.py @@ -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) -- 2.7.4