summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2015-11-06 17:04:41 (GMT)
committerXavier Claessens <xavier.claessens@collabora.com>2015-11-06 17:04:41 (GMT)
commit09857e2cf91edb7c71021fde77d50e6c70257e67 (patch)
tree511c7ecd263bd059246a5c5b8c794da86177bcc7
parent75324bbc9245250ac7e82f60ba6da6a5fa7d2fc8 (diff)
downloadgit-phab-09857e2cf91edb7c71021fde77d50e6c70257e67.tar.gz
git-phab-09857e2cf91edb7c71021fde77d50e6c70257e67.tar.xz
list.prepend() doesn't exist in python
-rwxr-xr-xgit-phab2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-phab b/git-phab
index b850811..97ca273 100755
--- a/git-phab
+++ b/git-phab
@@ -875,7 +875,7 @@ class GitPhab:
for r in reviewers:
# Note that we prepend here to make sur phab fields
# stay last.
- fields.prepend("Reviewed-by: " + r)
+ fields.insert(0, "Reviewed-by: " + r)
msg = self.format_commit_msg(subject, body, fields, True)
self.repo.git.commit(amend=True, message=msg)