Merge lp:~statik/python-distutils-extra/bug-464137 into lp:python-distutils-extra

Proposed by Elliot Murphy
Status: Merged
Merged at revision: not available
Proposed branch: lp:~statik/python-distutils-extra/bug-464137
Merge into: lp:python-distutils-extra
Diff against target: 15 lines (+5/-0)
1 file modified
debian/local/python-mkdebian (+5/-0)
To merge this branch: bzr merge lp:~statik/python-distutils-extra/bug-464137
Reviewer Review Type Date Requested Status
Registry Administrators Pending
Review via email: mp+18742@code.launchpad.net

Commit message

Warn and exit if unable to create the changelog due to debchange missing.

To post a comment you must log in.
Revision history for this message
Elliot Murphy (statik) wrote :

Warn and exit if unable to create the changelog due to debchange missing.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/local/python-mkdebian'
--- debian/local/python-mkdebian 2010-02-05 22:42:55 +0000
+++ debian/local/python-mkdebian 2010-02-06 02:11:10 +0000
@@ -199,6 +199,11 @@
199 release = lsb_release.communicate()[0].strip()199 release = lsb_release.communicate()[0].strip()
200 assert lsb_release.returncode == 0200 assert lsb_release.returncode == 0
201201
202 if not os.path.exists('/usr/bin/debchange'):
203 print >> sys.stderr, 'ERROR: Could not find "debchange".\n' \
204 'You need to install the "devscripts" package for this.'
205 sys.exit(0)
206
202 if not os.path.exists('debian/changelog'):207 if not os.path.exists('debian/changelog'):
203 if not changelog:208 if not changelog:
204 changelog = ['Initial release.']209 changelog = ['Initial release.']

Subscribers

People subscribed via source and target branches

to all changes:
to status/vote changes: