aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pym/repoman/modules/scan/metadata/unused.py21
1 files changed, 13 insertions, 8 deletions
diff --git a/pym/repoman/modules/scan/metadata/unused.py b/pym/repoman/modules/scan/metadata/unused.py
index b3dc86336..6def48fe1 100644
--- a/pym/repoman/modules/scan/metadata/unused.py
+++ b/pym/repoman/modules/scan/metadata/unused.py
@@ -1,11 +1,23 @@
class UnusedCheck(object):
+ '''Checks and reports any un-used metadata.xml use flag descriptions'''
def __init__(self, **kwargs):
+ '''UnusedCheck init function
+
+ @param qatracker: QATracker instance
+ '''
self.qatracker = kwargs.get('qatracker')
def check(self, **kwargs):
+ '''Reports on any unused metadata.xml use descriptions
+
+ @param xpkg: the pacakge being checked
+ @param muselist: use flag list
+ @param used_useflags: use flag list
+ @param validity_fuse: Fuse instance
+ '''
xpkg = kwargs.get('xpkg')
muselist = kwargs.get('muselist')
used_useflags = kwargs.get('used_useflags')
@@ -20,13 +32,6 @@ class UnusedCheck(object):
return {'continue': False}
@property
- def runInPkgs(self):
- return (False, [])
-
- @property
- def runInEbuilds(self):
- return (False, [])
-
- @property
def runInFinal(self):
+ '''Final scans at the package level'''
return (True, [self.check])