diff --git a/Changelog b/Changelog index 1d4480f9..1e62460f 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,6 @@ * Sat Jul 28 2007 Jesse Keating - Split the createrepo call into it's own function +- When raising an error, print the error too. * Tue Jul 24 2007 Jesse Keating - Add a few more desktopy things to manifest diff --git a/pungi.spec b/pungi.spec index e00e1285..b55bc346 100644 --- a/pungi.spec +++ b/pungi.spec @@ -1,7 +1,7 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: pungi -Version: 0.3.9 +Version: 0.4.0 Release: 1%{?dist} Summary: Distribution compose tool @@ -46,6 +46,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jul 28 2007 Jesse Keating - 0.4.0-1 +- split createrepo call to it's own function. This enables rawhide + composes to happen once again. Also breaks API. +- When raising an error, print the error too + * Tue Jul 24 2007 Jesse Keating - 0.3.9-1 - Add a few more desktopy things to manifest - Rename f7 files to f8; set up config files for f8test1 diff --git a/pypungi/pungi.py b/pypungi/pungi.py index 64583a5d..dfc61ced 100755 --- a/pypungi/pungi.py +++ b/pypungi/pungi.py @@ -77,7 +77,7 @@ class Pungi: if p1.returncode != 0: log.error("Got an error from %s" % command[0]) log.error(err) - raise OSError, "Got an error from %s" % command[0] + raise OSError, "Got an error from %s: %s" % (command[0], err) def doCreaterepo(self): """Run createrepo to generate repodata in the tree.""" diff --git a/setup.py b/setup.py index e38fdcd4..024df71a 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup import glob setup(name='pungi', - version='0.3.9', + version='0.4.0', description='Distribution compose tool', author='Jesse Keating', author_email='jkeating@redhat.com',