Skip to content

Commit f81a9ac

Browse files
committed
Fix Traceback in backends/portalocker.py (windows)
.. due to missing windll import, thanks to Heiko Stegmann for suggesting a first fix.
1 parent 204d955 commit f81a9ac

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,8 @@ Fixed:
336336
Firefox. The old version would show the popup but after clicking away
337337
the alert it would load the page. The new version (tested with
338338
Chromium and Firefox) doesn't load the page.
339+
- Fix Traceback in backends/portalocker.py on windows due to missing
340+
windll import, thanks to Heiko Stegmann for suggesting a first fix.
339341

340342

341343
2016-01-11: 1.5.1

doc/acknowledgements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ Alexander Smishlajev,
195195
Nathaniel Smith,
196196
Leonardo Soto,
197197
Maciej Starzyk,
198+
Heiko Stegmann,
198199
Kai Storbeck,
199200
Mitchell Surface,
200201
anatoly techtonik,

roundup/backends/portalocker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
if os.name == 'nt':
5555
import msvcrt
5656
import ctypes
57+
from ctypes import windll
5758
from ctypes.wintypes import BOOL, DWORD, HANDLE
5859

5960
LOCK_SH = 0 # the default

0 commit comments

Comments
 (0)