diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-07 14:12:29 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-07 14:12:29 -0400 |
commit | cb928a1f548fe1e65933ecbb62220295802f160b (patch) | |
tree | bc23b85218b9dac7a888ab95a01f402ed9125b7e /src/lib/Bcfg2 | |
parent | 655d1524cb489cb1fa40aebe2f6742256d35c5f1 (diff) | |
download | bcfg2-cb928a1f548fe1e65933ecbb62220295802f160b.tar.gz bcfg2-cb928a1f548fe1e65933ecbb62220295802f160b.tar.bz2 bcfg2-cb928a1f548fe1e65933ecbb62220295802f160b.zip |
don't encode Packages source lists just to md5sum them
Diffstat (limited to 'src/lib/Bcfg2')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Packages/Collection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Collection.py b/src/lib/Bcfg2/Server/Plugins/Packages/Collection.py index cd6056b8f..b89a60f7b 100644 --- a/src/lib/Bcfg2/Server/Plugins/Packages/Collection.py +++ b/src/lib/Bcfg2/Server/Plugins/Packages/Collection.py @@ -53,7 +53,7 @@ class Collection(Bcfg2.Server.Plugin.Debuggable): @property def cachekey(self): - return md5(self.sourcelist().encode(self.setup['encoding'])).hexdigest() + return md5(self.sourcelist()).hexdigest() def get_config(self): self.logger.error("Packages: Cannot generate config for host %s with " |