|
|
@@ -135,8 +135,6 @@ def _dump_stack_and_locals(trace, exc = None): |
|
|
|
|
|
|
|
|
|
|
|
def parse_args(): |
|
|
|
import codearchiver.core |
|
|
|
import codearchiver.modules |
|
|
|
import codearchiver.version |
|
|
|
|
|
|
|
parser = argparse.ArgumentParser(formatter_class = argparse.ArgumentDefaultsHelpFormatter) |
|
|
@@ -186,6 +184,7 @@ def main(): |
|
|
|
configure_logging(args.verbosity, args.dumpLocals) |
|
|
|
|
|
|
|
import codearchiver.core |
|
|
|
import codearchiver.modules |
|
|
|
with _dump_locals_on_exception(): |
|
|
|
inputUrl = codearchiver.core.InputURL(args.url) |
|
|
|
module = codearchiver.core.get_module_instance(inputUrl) |
|
|
|