Merge lp:~mandel/python-distutils-extra/import_issues into lp:python-distutils-extra

Proposed by Manuel de la Peña
Status: Merged
Merged at revision: 245
Proposed branch: lp:~mandel/python-distutils-extra/import_issues
Merge into: lp:python-distutils-extra
Diff against target: 12 lines (+2/-0)
1 file modified
DistUtilsExtra/auto.py (+2/-0)
To merge this branch: bzr merge lp:~mandel/python-distutils-extra/import_issues
Reviewer Review Type Date Requested Status
Martin Pitt (community) Approve
Review via email: mp+53519@code.launchpad.net

Commit message

Fixed issu with ctypes.wintypes when is added as a dependency.

Description of the change

Fixed issu with ctypes.wintypes when is added as a dependency.

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks! Merged.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'DistUtilsExtra/auto.py'
2--- DistUtilsExtra/auto.py 2011-03-15 10:48:51 +0000
3+++ DistUtilsExtra/auto.py 2011-03-15 21:01:23 +0000
4@@ -325,6 +325,8 @@
5 return False
6 except AttributeError: # builtin modules
7 return False
8+ except ValueError: # weird ctypes case with wintypes
9+ return False
10
11 return 'dist-packages' in path or 'site-packages' in path or \
12 not path.startswith(os.path.dirname(os.__file__))

Subscribers

People subscribed via source and target branches

to all changes:
to status/vote changes: