projects
/
gonvert
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Caching off the category names and fixing a bug
[gonvert]
/
src
/
unit_data.py
diff --git
a/src/unit_data.py
b/src/unit_data.py
index
d5634f2
..
01565ce
100644
(file)
--- a/
src/unit_data.py
+++ b/
src/unit_data.py
@@
-2186,6
+2186,10
@@
_(u"Electrical Voltage"): {".base_unit": _(u"volt"),
},
}
+
+UNIT_CATEGORIES = sorted(UNIT_DESCRIPTIONS.iterkeys())
+
+
future_dic = {
_(u"Wire Gauge"): {
".base_unit": "circular mils",