diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2012-03-26 09:13:52 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2012-03-26 09:13:52 -0500 |
commit | 392a311d295f3907014d967f661477e8b5e6bc19 (patch) | |
tree | 1cde618257636b976f4a476d5faac3b7343ceb48 | |
parent | dab1d03d81c538966d03fb9318a4588a9e803b44 (diff) | |
download | bcfg2-392a311d295f3907014d967f661477e8b5e6bc19.tar.gz bcfg2-392a311d295f3907014d967f661477e8b5e6bc19.tar.bz2 bcfg2-392a311d295f3907014d967f661477e8b5e6bc19.zip |
Remove unused client_version from reports
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rw-r--r-- | src/lib/Bcfg2/Client/Frame.py | 1 | ||||
-rwxr-xr-x | src/lib/Bcfg2/Server/Reports/importscript.py | 2 | ||||
-rw-r--r-- | src/lib/Bcfg2/Server/Reports/reports/models.py | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/Bcfg2/Client/Frame.py b/src/lib/Bcfg2/Client/Frame.py index baac70f52..9ad669ad6 100644 --- a/src/lib/Bcfg2/Client/Frame.py +++ b/src/lib/Bcfg2/Client/Frame.py @@ -426,7 +426,6 @@ class Frame: stats = Bcfg2.Client.XML.SubElement(feedback, 'Statistics', total=str(len(self.states)), - client_version=__revision__, version='2.0', revision=self.config.get('revision', '-1')) good = len([key for key, val in list(self.states.items()) if val]) diff --git a/src/lib/Bcfg2/Server/Reports/importscript.py b/src/lib/Bcfg2/Server/Reports/importscript.py index cbdf019f5..ea89c70cd 100755 --- a/src/lib/Bcfg2/Server/Reports/importscript.py +++ b/src/lib/Bcfg2/Server/Reports/importscript.py @@ -117,8 +117,6 @@ def load_stats(cdata, sdata, encoding, vlevel, logger, quick=False, location='') default="unknown"), repo_rev_code=statistics.get('revision', default="unknown"), - client_version=statistics.get('client_version', - default="unknown"), goodcount=statistics.get('good', default="0"), totalcount=statistics.get('total', diff --git a/src/lib/Bcfg2/Server/Reports/reports/models.py b/src/lib/Bcfg2/Server/Reports/reports/models.py index 870239641..d141846a2 100644 --- a/src/lib/Bcfg2/Server/Reports/reports/models.py +++ b/src/lib/Bcfg2/Server/Reports/reports/models.py @@ -156,7 +156,6 @@ class Interaction(models.Model): timestamp = models.DateTimeField() # Timestamp for this record state = models.CharField(max_length=32) # good/bad/modified/etc repo_rev_code = models.CharField(max_length=64) # repo revision at time of interaction - client_version = models.CharField(max_length=32) # Client Version goodcount = models.IntegerField() # of good config-items totalcount = models.IntegerField() # of total config-items server = models.CharField(max_length=256) # Name of the server used for the interaction |