diff load_db.py @ 2:fb8484ee54d8 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/query_tabular commit 4a3c9f195ba5d899b1a1ce5e80281cdf230f456a
author iuc
date Mon, 23 Oct 2017 13:27:42 -0400
parents 8a33b442ecd9
children 33d61c89fb8d
line wrap: on
line diff
--- a/load_db.py	Fri Aug 18 16:48:09 2017 -0400
+++ b/load_db.py	Mon Oct 23 13:27:42 2017 -0400
@@ -166,11 +166,11 @@
         try:
             int(val)
             return 'INTEGER'
-        except:
+        except ValueError:
             try:
                 float(val)
                 return 'REAL'
-            except:
+            except ValueError:
                 return 'TEXT'
     return None