Mercurial > repos > peterjc > effectivet3
comparison tools/effectiveT3/effectiveT3.py @ 9:b863c4bec840 draft
Uploaded v0.0.11, take 10, debug output if module folder missing
| author | peterjc |
|---|---|
| date | Mon, 13 May 2013 05:14:33 -0400 |
| parents | 4a0aa59062f7 |
| children | 17fbf8b8a554 |
comparison
equal
deleted
inserted
replaced
| 8:4a0aa59062f7 | 9:b863c4bec840 |
|---|---|
| 93 stop_err("Effective T3 folder not found: %r" % effectiveT3_dir) | 93 stop_err("Effective T3 folder not found: %r" % effectiveT3_dir) |
| 94 | 94 |
| 95 if not os.path.isfile(effectiveT3_jar): | 95 if not os.path.isfile(effectiveT3_jar): |
| 96 stop_err("Effective T3 JAR file not found: %r" % effectiveT3_jar) | 96 stop_err("Effective T3 JAR file not found: %r" % effectiveT3_jar) |
| 97 | 97 |
| 98 if not os.path.isdir(os.path.join(effectiveT3_dir, "module")): | |
| 99 stop_err("Effective T3 module folder not found: %r" % os.path.join(effectiveT3_dir, "module")) | |
| 100 | |
| 98 effectiveT3_model = os.path.join(effectiveT3_dir, "module", model) | 101 effectiveT3_model = os.path.join(effectiveT3_dir, "module", model) |
| 99 if not os.path.isfile(effectiveT3_model): | 102 if not os.path.isfile(effectiveT3_model): |
| 100 sys.stderr.write("Contents of %r is %s\n" | 103 sys.stderr.write("Contents of %r is %s\n" |
| 101 % (os.path.join(effectiveT3_dir, "module"), | 104 % (os.path.join(effectiveT3_dir, "module"), |
| 102 ", ".join(repr(p) for p in os.listdir(os.path.join(effectiveT3_dir, "module"))))) | 105 ", ".join(repr(p) for p in os.listdir(os.path.join(effectiveT3_dir, "module"))))) |
