Ejemplo n.º 1
0
def main():
    host = Host()
    importer = TestImporter(host)
    try:
        host.exit(importer.main())
    except KeyboardInterrupt:
        host.print_("Interrupted, exiting")
        host.exit(exit_codes.INTERRUPTED_EXIT_STATUS)
Ejemplo n.º 2
0
def main():
    host = Host()
    exporter = TestExporter(host)
    try:
        success = exporter.main()
        host.exit(0 if success else 1)
    except KeyboardInterrupt:
        host.print_('Interrupted, exiting')
        host.exit(exit_codes.INTERRUPTED_EXIT_STATUS)
Ejemplo n.º 3
0
def main():
    host = Host()
    exporter = PrCleanupTool(host)
    success = exporter.main()
    host.exit(0 if success else 1)