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
Labels

Comments

@jaraco
Copy link
Owner

@jaraco 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

This comment has been minimized.

Copy link
Owner Author

@jaraco jaraco commented Dec 15, 2014

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


Digest copy pasta. Fixes #4.

@jaraco

This comment has been minimized.

Copy link
Owner Author

@jaraco 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 Jan 29, 2016
jaraco added a commit that referenced this issue Jan 29, 2016
jaraco added 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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.