From 0c45193353e0c0390a94839b0c1901ec2cb71eb3 Mon Sep 17 00:00:00 2001 From: Matt Wilkie Date: Sat, 20 Jun 2015 22:29:19 -0700 Subject: [PATCH] test if try/except not needed afterall (#48) --- knownpaths.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/knownpaths.py b/knownpaths.py index a9b9e24..0aa1a0c 100644 --- a/knownpaths.py +++ b/knownpaths.py @@ -3,13 +3,7 @@ ''' import sys import ctypes -try: - from ctypes import windll, wintypes -except ImportError, ValueError: - # catch ImportError and ValueError due to issue16396 - # http://bugs.python.org/issue16396 - pass - +from ctypes import windll, wintypes from uuid import UUID class GUID(ctypes.Structure): # [1]