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)
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)