Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in api/filesystem.py #4

Closed
jaraco opened this issue Dec 15, 2014 · 2 comments
Closed

bug in api/filesystem.py #4

jaraco opened this issue Dec 15, 2014 · 2 comments

Comments

@jaraco
Copy link
Owner

jaraco commented Dec 15, 2014

Originally reported by: Shlomi Kushchi (Bitbucket: shlomi_kushchi, GitHub: shlomi_kushchi)


hi.

you have a bug in 3.1.1

#!python

from jaraco.windows import filesystem

causes:

#!python

C:\Python27\lib\site-packages\jaraco\windows\api\filesystem.py in <module>()
      3 CreateSymbolicLink = ctypes.windll.kernel32.CreateSymbolicLinkW
      4 CreateSymbolicLink.argtypes = (
----> 5         ctypes.wintypes.ctypes.wintypes.LPWSTR,
      6         ctypes.wintypes.LPWSTR,
      7         ctypes.wintypes.DWORD,

AttributeError: 'module' object has no attribute 'ctypes'

line 5 should be: ctypes.wintypes.LPWSTR,


@jaraco
Copy link
Owner Author

jaraco commented Dec 15, 2014

Original comment by Jason R. Coombs (Bitbucket: jaraco, GitHub: jaraco):


Digest copy pasta. Fixes #4.

@jaraco
Copy link
Owner Author

jaraco commented Dec 15, 2014

Original comment by Jason R. Coombs (Bitbucket: jaraco, GitHub: jaraco):


Released as 3.1.2. Thanks for the report.

@jaraco jaraco closed this as completed Jan 29, 2016
jaraco added a commit that referenced this issue Jan 29, 2016
jaraco pushed a commit that referenced this issue Jan 1, 2019
use spaces, fixed indentation, format using autopep8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant