Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit e57db39

Browse files
committed
util: testing: consoletest: commands: Do not import fcntl on Windows
Fixes: #1289
1 parent 810cc57 commit e57db39

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dffml/util/testing/consoletest/commands.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424

2525
import httptest
2626

27+
28+
if platform.system() != "Windows":
29+
import fcntl
30+
31+
2732
from .... import plugins
2833

2934

0 commit comments

Comments
 (0)