summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlev Kartau <olev.kartau@intel.com>2013-03-21 11:22:37 +0200
committerOlev Kartau <olev.kartau@intel.com>2013-03-21 11:22:37 +0200
commit4f63ccb6ce9c0bda7cd8f3e90cd2815f1d986332 (patch)
tree81a59cdc2fa65894832223a3857f7d334f48e47a
parent7b069c6ef376e0db8ee233287c5bec573688fca9 (diff)
downloadgit-buildpackage-4f63ccb6ce9c0bda7cd8f3e90cd2815f1d986332.tar.gz
git-buildpackage-4f63ccb6ce9c0bda7cd8f3e90cd2815f1d986332.tar.bz2
git-buildpackage-4f63ccb6ce9c0bda7cd8f3e90cd2815f1d986332.zip
Fixing misspelled retval in pq_rpm.py:main
return value was assigned to "var" which was not declared and not used, thus we missed the real return value being non-zero.
-rwxr-xr-xgbp/scripts/pq_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pq_rpm.py b/gbp/scripts/pq_rpm.py
index 5b5aaba9..d2c7edd2 100755
--- a/gbp/scripts/pq_rpm.py
+++ b/gbp/scripts/pq_rpm.py
@@ -590,7 +590,7 @@ def main(argv):
retval = 1
except GitRepositoryError as err:
gbp.log.err("Git command failed: %s" % err)
- ret = 1
+ retval = 1
except GbpError, err:
if len(err.__str__()):
gbp.log.err(err)