Permalink
Browse files

Convert to float always.

  • Loading branch information...
vuksan
vuksan committed Jul 5, 2012
1 parent 1eb6ffd commit 936936d99a383c731c7bc525d00eece64cbe012b
Showing with 0 additions and 5 deletions.
  1. +0 −5 jmxsh/python_modules/jmxsh.py
@@ -61,11 +61,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:

0 comments on commit 936936d

Please sign in to comment.