This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/701/ |
cli/lmi/shell/LMIUtil.py (Diff revision 2) | |||
---|---|---|---|
136 | cast_func = cast[t] if t.lower() in cast else lambda x: x |
Shouldn't it be like: ... cast[t.lower()] if t.lower() in cast ... This way it checks if lowercased t is key in the dict but it gets non-lowercased key.
- Radek Novacek
On August 9th, 2013, 9:53 a.m. CEST, Peter Hatina wrote:
Review request for OpenLMI Developers.
By Peter Hatina.
Updated Aug. 9, 2013, 9:53 a.m.
Repository:
openlmi-tools
Description
Diffs
|