aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-08-08 11:10:59 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-08-08 11:12:22 +1200
commit49e01d3284eb404f573c2fd22dbeb81aec02b786 (patch)
tree8ec8033799e859df8c8947190d4bf8ff5ffb3d1e
parent936f923b7f33491a1ee4736dbbab0c208d74147f (diff)
downloadbuildhistory-web-49e01d3284eb404f573c2fd22dbeb81aec02b786.tar.gz
buildhistory-web-49e01d3284eb404f573c2fd22dbeb81aec02b786.tar.bz2
buildhistory-web-49e01d3284eb404f573c2fd22dbeb81aec02b786.zip
import.py: fix bad reference to commit object
We shouldn't be referring to the commit object here. We already grabbed the hexsha value into b.vcs_rev earlier so just use that here instead. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rwxr-xr-xwarningmgr/import.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/warningmgr/import.py b/warningmgr/import.py
index 2c8fb79..99aa47e 100755
--- a/warningmgr/import.py
+++ b/warningmgr/import.py
@@ -111,7 +111,7 @@ def main():
wi.description = desc
wi.summary = desc.split('\n', 1)[0]
print("Creating: %s" % wi.summary)
- wi.vcs_rev = commit.hexsha
+ wi.vcs_rev = b.vcs_rev
wi.save()
if args.iterate: