diff mbox

[v2,6/6] tools: Update to use 'extractor'

Message ID 20161130184247.9913-7-stephen@that.guru
State Superseded
Headers show

Commit Message

Stephen Finucane Nov. 30, 2016, 6:42 p.m. UTC
Signed-off-by: Stephen Finucane <stephen@that.guru>
Cc: Paul Jakma <paul@jakma.org>
Cc: Tom Rini <trini@konsulko.com>
---
 tools/patchwork-update-commits | 2 +-
 tools/post-receive.hook        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits
index d0f63a9..02fae9b 100755
--- a/tools/patchwork-update-commits
+++ b/tools/patchwork-update-commits
@@ -29,6 +29,6 @@  fi
 
 git rev-list --reverse "$@" |
 while read commit; do
-    hash=$(git show "$commit" | python $pwpath/parser.py -#)
+    hash=$(git show "$commit" | python $pwpath/extractor.py -#)
     $pwpath/bin/pwclient update -s Accepted -c "$commit" -h "$hash"
 done
diff --git a/tools/post-receive.hook b/tools/post-receive.hook
index a19e1b2..4d4addc 100755
--- a/tools/post-receive.hook
+++ b/tools/post-receive.hook
@@ -38,7 +38,7 @@  trap "do_exit=1" INT
 get_patchwork_hash()
 {
     local hash
-    hash=$(git show -C $1 | python $PWDIR/parser.py --hash)
+    hash=$(git show -C $1 | python $PWDIR/extractor.py --hash)
     echo $hash
     test -n "$hash"
 }