From 6825e17e1e4bc0034b6aba665d5e641e3febecfa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 1 Dec 2008 04:44:45 +0000 Subject: [PATCH] Add script forgotten in r67464. --- Demo/distutils/test2to3/maintest.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Demo/distutils/test2to3/maintest.py diff --git a/Demo/distutils/test2to3/maintest.py b/Demo/distutils/test2to3/maintest.py new file mode 100644 index 0000000000..72a26ddea0 --- /dev/null +++ b/Demo/distutils/test2to3/maintest.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python + +# The above line should get replaced with the path to the Python +# interpreter; the block below should get 2to3-converted. + +try: + from test2to3.hello import hello +except ImportError, e: + print "Import failed", e +hello() -- 2.40.0