diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-05-29 00:33:25 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-05-29 00:33:25 +0000 |
commit | bf524622abb103862d14350375e3efc963487fda (patch) | |
tree | 92e4cc499a152caf879120947fff422726d3438c /src/lib | |
parent | 722968d7d615e749a844e8ee69c45983f392cb97 (diff) | |
download | bcfg2-bf524622abb103862d14350375e3efc963487fda.tar.gz bcfg2-bf524622abb103862d14350375e3efc963487fda.tar.bz2 bcfg2-bf524622abb103862d14350375e3efc963487fda.zip |
Pull out hashlib for the moment
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5259 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Core.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py index 2912d7ae8..3d19377a1 100644 --- a/src/lib/Server/Core.py +++ b/src/lib/Server/Core.py @@ -2,7 +2,6 @@ __revision__ = '$Revision$' import copy -import hashlib import logging import lxml.etree import select @@ -369,13 +368,6 @@ class Core(Component): try: client = self.metadata.resolve_client(address) config = self.BuildConfiguration(client) - if checksum: - for cfile in config.findall('.//ConfigFile'): - if cfile.text != None: - csum = hashlib.md5() - csum.update(cfile.text) - cfile.set('checksum', csum.hexdigest()) - cfile.text = None return lxml.etree.tostring(config, encoding='UTF-8', xml_declaration=True) except Bcfg2.Server.Plugins.Metadata.MetadataConsistencyError: |