##// END OF EJS Templates
Backport PR #6410: Fix relative import in appnope...
Thomas Kluyver -
Show More
@@ -1,15 +1,15 b''
1
1
2 try:
2 try:
3 from appnope import *
3 from appnope import *
4 except ImportError:
4 except ImportError:
5 __version__ = '0.0.5'
5 __version__ = '0.0.5'
6 import sys
6 import sys
7 import platform
7 import platform
8 from distutils.version import LooseVersion as V
8 from distutils.version import LooseVersion as V
9
9
10 if sys.platform != "darwin" or V(platform.mac_ver()[0]) < V("10.9"):
10 if sys.platform != "darwin" or V(platform.mac_ver()[0]) < V("10.9"):
11 from _dummy import *
11 from ._dummy import *
12 else:
12 else:
13 from ._nope import *
13 from ._nope import *
14
14
15 del sys, platform, V
15 del sys, platform, V
General Comments 0
You need to be logged in to leave comments. Login now