Skip to content

Commit

Permalink
test if try/except not needed afterall (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
maphew committed Jun 21, 2015
1 parent abfc5f4 commit 0c45193
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions knownpaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 0c45193

Please sign in to comment.