Permalink
Browse files

Convert to float always.

  • Loading branch information...
1 parent 1eb6ffd commit 936936d99a383c731c7bc525d00eece64cbe012b vuksan committed Jul 5, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 jmxsh/python_modules/jmxsh.py
View
5 jmxsh/python_modules/jmxsh.py
@@ -62,11 +62,6 @@ def get_numeric(val):
'''Try to return the numeric value of the string'''
try:
- return int(val)
- except:
- pass
-
- try:
return float(val)
except:
pass

0 comments on commit 936936d

Please sign in to comment.