(name, path)
| 18 | |
| 19 | # Load a source file |
| 20 | def load_source(name, path): |
| 21 | if not os.path.exists(path): |
| 22 | print("ERROR: Could not find %s" % path) |
| 23 | sys.exit(1) |
| 24 | |
| 25 | return SourceFileLoader(name, path).load_module() |
| 26 | |
| 27 | |
| 28 | # Ensure the global server mode is set. |