1 |
commit: 6d3873a690ccdf47f1d5c3f83fc8dbef92f5a9f1 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 31 00:59:03 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 31 00:59:03 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=6d3873a6 |
7 |
|
8 |
InheritEclass: fix autotools for polylib-9999 |
9 |
|
10 |
--- |
11 |
pym/repoman/checks.py | 4 ++-- |
12 |
1 files changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py |
15 |
index cd21fd9..6dd4977 100644 |
16 |
--- a/pym/repoman/checks.py |
17 |
+++ b/pym/repoman/checks.py |
18 |
@@ -498,7 +498,7 @@ class InheritEclass(LineCheck): |
19 |
self._func_call = self._func_re.search(line) |
20 |
|
21 |
def end(self): |
22 |
- if self._comprehensive and self._inherit and not self._func_call: |
23 |
+ if not self._disabled and self._comprehensive and self._inherit and not self._func_call: |
24 |
self.repoman_check_name = 'inherit.unused' |
25 |
yield 'no function called from %s.eclass; please drop' % self._eclass |
26 |
|
27 |
@@ -516,7 +516,7 @@ _eclass_info = { |
28 |
# the autotools functions. |
29 |
# subversion - An ESVN_BOOTSTRAP variable may be used to call one of |
30 |
# the autotools functions. |
31 |
- 'exempt_eclasses': ('git', 'subversion', 'autotools-utils') |
32 |
+ 'exempt_eclasses': ('git', 'git-2', 'subversion', 'autotools-utils') |
33 |
}, |
34 |
|
35 |
'eutils': { |