Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/sync/modules/git/
Date: Wed, 09 Aug 2017 20:39:38
Message-Id: 1502311166.540b97e416371c03e681625dd02a8f0eb371e9ab.zmedico@gentoo
1 commit: 540b97e416371c03e681625dd02a8f0eb371e9ab
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 9 20:38:08 2017 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 9 20:39:26 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=540b97e4
7
8 GitSync: fix subprocess.CalledProcessError reference (bug 627416)
9
10 Fixes: 0e1699ad6b3f ("emerge: Add head commit per repo to --info")
11
12 pym/portage/sync/modules/git/git.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/pym/portage/sync/modules/git/git.py b/pym/portage/sync/modules/git/git.py
16 index 8df9ca612..19c167485 100644
17 --- a/pym/portage/sync/modules/git/git.py
18 +++ b/pym/portage/sync/modules/git/git.py
19 @@ -139,6 +139,6 @@ class GitSync(NewBase):
20 try:
21 ret = (os.EX_OK, subprocess.check_output(rev_cmd,
22 cwd=portage._unicode_encode(self.repo.location)))
23 - except CalledProcessError:
24 + except subprocess.CalledProcessError:
25 ret = (1, False)
26 return ret