Commit decc4b99 authored by Guido van Rossum's avatar Guido van Rossum

Use ImportError

parent 1820010c
......@@ -5,7 +5,7 @@ import sys
try:
import mac
os = mac
except NameError:
except ImportError:
import posix
os = posix
from stat import *
......
......@@ -5,7 +5,7 @@ import sys
try:
import mac
os = mac
except NameError:
except ImportError:
import posix
os = posix
from stat import *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment