summaryrefslogtreecommitdiffstats
path: root/base/common/python
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/python')
-rw-r--r--base/common/python/pki/upgrade.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/common/python/pki/upgrade.py b/base/common/python/pki/upgrade.py
index 44decd5bd..bc7e278e7 100644
--- a/base/common/python/pki/upgrade.py
+++ b/base/common/python/pki/upgrade.py
@@ -95,6 +95,9 @@ class Version(object):
return False
+ # not hashable
+ __hash__ = None
+
def __repr__(self):
return self.version
@@ -445,6 +448,9 @@ class PKIUpgradeScriptlet(object):
return self.version == other.version and self.index < other.index
+ # not hashable
+ __hash__ = None
+
class PKIUpgrader(object):