mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Remove unused fcntl
checks.
This commit is contained in:
parent
504b7100e1
commit
8a7f085477
@ -9,13 +9,6 @@ The backend for serving files pushed to master by cp.push (file_recv).
|
|||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
try:
|
|
||||||
import fcntl
|
|
||||||
HAS_FCNTL = True
|
|
||||||
except ImportError:
|
|
||||||
# fcntl is not available on windows
|
|
||||||
HAS_FCNTL = False
|
|
||||||
|
|
||||||
# Import salt libs
|
# Import salt libs
|
||||||
import salt.fileserver
|
import salt.fileserver
|
||||||
import salt.utils
|
import salt.utils
|
||||||
|
Loading…
Reference in New Issue
Block a user