From 6d3873a690ccdf47f1d5c3f83fc8dbef92f5a9f1 Mon Sep 17 00:00:00 2001
From: Zac Medico <zmedico@gentoo.org>
Date: Wed, 30 May 2012 17:59:03 -0700
Subject: [PATCH] InheritEclass: fix autotools for polylib-9999

---
 pym/repoman/checks.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pym/repoman/checks.py b/pym/repoman/checks.py
index cd21fd9af..6dd497755 100644
--- a/pym/repoman/checks.py
+++ b/pym/repoman/checks.py
@@ -498,7 +498,7 @@ class InheritEclass(LineCheck):
 			self._func_call = self._func_re.search(line)
 
 	def end(self):
-		if self._comprehensive and self._inherit and not self._func_call:
+		if not self._disabled and self._comprehensive and self._inherit and not self._func_call:
 			self.repoman_check_name = 'inherit.unused'
 			yield 'no function called from %s.eclass; please drop' % self._eclass
 
@@ -516,7 +516,7 @@ _eclass_info = {
 		#       the autotools functions.
 		# subversion - An ESVN_BOOTSTRAP variable may be used to call one of
 		#       the autotools functions.
-		'exempt_eclasses': ('git', 'subversion', 'autotools-utils')
+		'exempt_eclasses': ('git', 'git-2', 'subversion', 'autotools-utils')
 	},
 
 	'eutils': {
-- 
2.26.2