1 |
commit: d93959f2f295b47a0b17c33ee8df1633a0e479ee |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 26 22:47:10 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 26 22:47:10 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d93959f2 |
7 |
|
8 |
repoman: fix git_supports_gpg_sign |
9 |
|
10 |
--- |
11 |
bin/repoman | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/bin/repoman b/bin/repoman |
15 |
index b0e5851..45a7ca5 100755 |
16 |
--- a/bin/repoman |
17 |
+++ b/bin/repoman |
18 |
@@ -1022,7 +1022,7 @@ def git_supports_gpg_sign(): |
19 |
if cmd_output: |
20 |
version = re.match(r'^(\d+)\.(\d+)\.(\d+)', cmd_output[-1]) |
21 |
if version is not None: |
22 |
- version = [int(x) for x in version.groups()[1:]] |
23 |
+ version = [int(x) for x in version.groups()] |
24 |
if version[0] > 1 or \ |
25 |
(version[0] == 1 and version[1] > 7) or \ |
26 |
(version[0] == 1 and version[1] == 7 and version[2] >= 9): |