Skip to content
Browse files

do not proceed past the pbuilder check if it fails.

  • Loading branch information...
1 parent 5858d32 commit 4289df0d817f457755a13126b7c38c92a1f1aa81 @codehelp codehelp committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 pybitclient/debianclient.py
View
3 pybitclient/debianclient.py
@@ -135,7 +135,8 @@ def build_master (self, buildreq, conn_data):
dep_check, os.path.realpath(control))
if not pybitclient.run_cmd (command, self.settings["dry_run"], logfile):
retval = "build-dep-wait"
- retval = self.orig_source_handler (buildreq, conn_data)
+ if not retval :
+ retval = self.orig_source_handler (buildreq, conn_data)
if not retval :
command = "(cd %s ; dpkg-buildpackage -nc -S -d -uc -us)" % (package_dir)
if not pybitclient.run_cmd (command, self.settings["dry_run"], logfile):

0 comments on commit 4289df0

Please sign in to comment.
Something went wrong with that request. Please try again.