Skip to content

Commit

Permalink
Fix log messages when dpkg-deb fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren Turkal committed Jul 4, 2012
1 parent a5bf7a1 commit fc9d9d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugins/debian.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def do_pre_build_package_binary_install(self, builders):
builder.do_pre_build_package_binary_install(builders, self,
**package_data)


def do_build_package_work(self):
self._create_debian_control_file()
self._create_debian_binary_package()
Expand Down Expand Up @@ -112,11 +111,12 @@ def _create_debian_binary_package(self):
retcode = dpkg_deb_proc.returncode
if retcode != 0:
logging.info('Debian binary package creation failed.')
logging.info('Making virtualenv relocatable failed with exit code = %s',
retcode)
logging.info('Making virtualenv relocatable stdout:\n%s',
logging.info(
'Debian binary package creation failed with exit code = '
'%s', retcode)
logging.info('Debian binary package creation stdout:\n%s',
stdoutdata)
logging.info('Making virtualenv relocatable stderr:\n%s',
logging.info('Debian binary package creation stderr:\n%s',
stderrdata)
raise digg.dev.hackbuilder.errors.Error(
'dpkg-deb call failed with exitcode %s', retcode)
Expand Down

0 comments on commit fc9d9d1

Please sign in to comment.