aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-03-21 15:16:34 +0000
committerlloyd <[email protected]>2013-03-21 15:16:34 +0000
commitd1d27bda2173c78b9ddf573f83b1115d52af5530 (patch)
tree9c7603ccd303e56fd4d28e6bc907f77498b1015f
parentaa8cc88d0019a8c863339685536e83f1c776f930 (diff)
Fix error if we asked for nonexistent branch or version
-rwxr-xr-xsrc/build-data/scripts/dist.py2
1 files changed, 1 insertions, 1 deletions
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))