Liter to Gallon conversion is not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-quantities |
Fix Committed
|
High
|
Darren Dale |
Bug Description
>>> q = 100*pq.volume.liter
>>> q.units = 'gallon'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/
to_dims = validate_
File "/usr/local/
return unit_registry[
File "/usr/local/
return self.__
File "/usr/local/
'Unable to parse units: "%s"'%string
LookupError: Unable to parse units: "gallon"
>>>
I am using version 0.7 on Ubuntu 9.10
Thank you for the report. This has been fixed in the trunk.