summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Jones <richard@mechanicalcat.net>2012-10-02 10:06:14 +1000
committerRichard Jones <richard@mechanicalcat.net>2012-10-02 10:06:14 +1000
commit340fddb336a8e4616238b4e2971848d1bd191902 (patch)
treee777b1b8e7c358a006a08e2280925f22c648f916
parentfdae0b77bf432b9fbc2508534308e1918befb294 (diff)
downloaddecorator-340fddb336a8e4616238b4e2971848d1bd191902.tar.gz
whups
-rw-r--r--store.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/store.py b/store.py
index 9d6e5dc..ee53886 100644
--- a/store.py
+++ b/store.py
@@ -484,7 +484,8 @@ class Store:
# re-stringification has a bug we need to work around:
# >>> NormalizedVersion('0.0.2.post1')
# NormalizedVersion('0.0.2.post1.z')
- s_norm_version = NormalizedVersion(norm_version)
+ norm_version = NormalizedVersion(norm_version)
+ s_norm_version = str(norm_version)
norm_to_orig[s_norm_version] = version
current_ordering[s_norm_version] = ordering