# HG changeset patch # User Goffi # Date 1509826632 -3600 # Node ID 81e6d4a516c3b3c227de30e83f84bef5f86b53b8 # Parent 9fbb31ce495bf8f3a92f200103a96f1e2c9be668 storage (pgsql): getDefaultConfiguration now returns a shallow copy of default conf dict, to avoid modification. diff -r 9fbb31ce495b -r 81e6d4a516c3 sat_pubsub/pgsql_storage.py --- a/sat_pubsub/pgsql_storage.py Fri Nov 03 14:36:19 2017 +0100 +++ b/sat_pubsub/pgsql_storage.py Sat Nov 04 21:17:12 2017 +0100 @@ -387,7 +387,7 @@ return d def getDefaultConfiguration(self, nodeType): - return self.defaultConfig[nodeType] + return self.defaultConfig[nodeType].copy() def formatLastItems(self, result): last_items = []