Mercurial > repos > bgruening > upload_testing
comparison reverse.py @ 109:89dd3b812906 draft
Uploaded
| author | bgruening |
|---|---|
| date | Sat, 12 Apr 2014 07:25:47 -0400 |
| parents | 00a775971820 |
| children |
comparison
equal
deleted
inserted
replaced
| 108:00a775971820 | 109:89dd3b812906 |
|---|---|
| 17 if DEBUG: | 17 if DEBUG: |
| 18 print "Running shell command %s" % command | 18 print "Running shell command %s" % command |
| 19 _exec(command) | 19 _exec(command) |
| 20 | 20 |
| 21 | 21 |
| 22 def _run_dbtoolkit(java_class, args): | 22 def _run_dbtoolkit(java_class, command, args): |
| 23 command_prefix = "java -cp %s" % _dbtoolkit_jar_path( args.script_path ) | 23 command_prefix = "java -cp %s" % _dbtoolkit_jar_path( args.script_path ) |
| 24 _exec("%s %s %s" % (command_prefix, java_class, args)) | 24 _exec("%s %s %s" % (command_prefix, java_class, command)) |
| 25 | 25 |
| 26 | 26 |
| 27 def _dbtoolkit_jar_path( script_path ): | 27 def _dbtoolkit_jar_path( script_path ): |
| 28 jar_path = join(script_path, "dbtoolkit-4.2", "dbtoolkit-4.2.jar") | 28 jar_path = join(script_path, "dbtoolkit-4.2", "dbtoolkit-4.2.jar") |
| 29 return jar_path | 29 return jar_path |
