diff options
Diffstat (limited to 'mysqlhack.py')
-rw-r--r-- | mysqlhack.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mysqlhack.py b/mysqlhack.py index 5d45c52..7153bdf 100644 --- a/mysqlhack.py +++ b/mysqlhack.py @@ -4,12 +4,12 @@ A library that makes use of the so called ClassPathHack for jython to allow proper loading of mysql-connector.jar at runtime. Import only, no methods. """ -import jarray -import java.net.URL +import java.lang.reflect.Method import java.io.File -from java.lang import Class +import java.net.URL import java.net.URLClassLoader -import java.lang.reflect.Method +import jarray +from java.lang import Class # hacky code to add mysql-connector to java's classpath ('classPathHack') |