From d1d27bda2173c78b9ddf573f83b1115d52af5530 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 21 Mar 2013 15:16:34 +0000 Subject: Fix error if we asked for nonexistent branch or version --- src/build-data/scripts/dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/build-data/scripts/dist.py b/src/build-data/scripts/dist.py index 8d707ff3e..e0b890c83 100755 --- a/src/build-data/scripts/dist.py +++ b/src/build-data/scripts/dist.py @@ -231,7 +231,7 @@ def main(args = None): rev_id = run_monotone(options.mtn_db, ['automate', 'select', selector(args)]) if rev_id == '': - logging.error('No revision for %s found' % (version)) + logging.error('No revision matching %s found' % (selector(args))) return 2 logging.info('Found revision id %s' % (rev_id)) -- cgit v1.2.3