fix stupid typo: r->RDLK
This commit is contained in:
parent
99bf06b2fc
commit
ba3e46b9ce
|
@ -153,7 +153,7 @@ class _posixfile_:
|
|||
import struct, fcntl, FCNTL
|
||||
|
||||
if 'w' in how: l_type = FCNTL.F_WRLCK
|
||||
elif 'r' in how: l_type = FCNTL.F_WRLCK
|
||||
elif 'r' in how: l_type = FCNTL.F_RDLCK
|
||||
elif 'u' in how: l_type = FCNTL.F_UNLCK
|
||||
else: raise TypeError, 'no type of lock specified'
|
||||
|
||||
|
|
Loading…
Reference in New Issue