This is an automated email from the git hooks/post-receive script. mattia pushed a commit to branch master in repository devscripts.
commit 8751486cd98955c3ae359381f3ac5bc3f727dbf8 Author: Mattia Rizzolo <[email protected]> Date: Thu Jan 25 13:35:27 2018 +0100 reproducible-check: Instruct to install python3-xdg if missing. Closes: #888307 Signed-off-by: Mattia Rizzolo <[email protected]> --- debian/changelog | 2 ++ scripts/reproducible-check | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4b1571a..23f11fd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,8 @@ devscripts (2.18.1) UNRELEASED; urgency=medium * ltnu: + Avoid using L<> with emails in the POD documentation, so it can be built with an older pod as well. + * reproducible-check: + + Instruct to install python3-xdg if missing. Closes: #888307 [ Osamu Aoki ] * uupdate: diff --git a/scripts/reproducible-check b/scripts/reproducible-check index a7cf53d..eed705a 100755 --- a/scripts/reproducible-check +++ b/scripts/reproducible-check @@ -26,7 +26,13 @@ import requests import argparse import collections -from xdg.BaseDirectory import xdg_cache_home +try: + from xdg.BaseDirectory import xdg_cache_home +except ImportError: + print("This script requires the xdg python3 module.", file=sys.stderr) + print("Please install the python3-xdg Debian package in order to use" + "this utility.", file=sys.stderr) + sys.exit(1) class ReproducibleCheck(object): -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
