Skip to content

Commit

Permalink
Removed unused analytics handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Florath committed Dec 26, 2012
1 parent 0aaee24 commit c740a05
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions rmtoo/lib/BaseRMObject.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ def __init__(self, tbhtags, content, rid, mods, config, type_str,
self.record = None
self.brmo = None

# The analytic modules store the results in this map:
self.analytics = {}
if content != None:
self.__input(content)

Expand Down
11 changes: 0 additions & 11 deletions rmtoo/lib/Requirement.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,3 @@ def get_efe_or_0(self):

def is_implementable(self):
return self.values["Class"].is_implementable()

def write_analytics_result(self, mstderr):
'''Write out the analytics results.'''
for k, v in sorted(self.analytics.items(),
key=operator.itemgetter(0)):
if v[0] < 0:
mstderr.write("+++ Error:Analytics:%s:%s:result is '%+3d'\n"
% (k, self.id, v[0]))
for l in v[1]:
mstderr.write("+++ Error:Analytics:%s:%s:%s\n" %
(k, self.id, l))

0 comments on commit c740a05

Please sign in to comment.