From: Zac Medico Date: Wed, 26 Dec 2012 22:47:10 +0000 (-0800) Subject: repoman: fix git_supports_gpg_sign X-Git-Tag: v2.2.0_alpha150~88 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d93959f2f295b47a0b17c33ee8df1633a0e479ee;p=portage.git repoman: fix git_supports_gpg_sign --- diff --git a/bin/repoman b/bin/repoman index b0e5851ab..45a7ca57f 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1022,7 +1022,7 @@ def git_supports_gpg_sign(): if cmd_output: version = re.match(r'^(\d+)\.(\d+)\.(\d+)', cmd_output[-1]) if version is not None: - version = [int(x) for x in version.groups()[1:]] + version = [int(x) for x in version.groups()] if version[0] > 1 or \ (version[0] == 1 and version[1] > 7) or \ (version[0] == 1 and version[1] == 7 and version[2] >= 9):