Skip to content

Commit

Permalink
util: testing: consoletest: commands: Do not import fcntl on Windows
Browse files Browse the repository at this point in the history
Fixes: #1289
  • Loading branch information
pdxjohnny committed Jan 31, 2022
1 parent 58fe3f7 commit 77fcac6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dffml/util/testing/consoletest/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@

import httptest


if platform.system() != "Windows":
import fcntl


from .... import plugins


Expand Down

0 comments on commit 77fcac6

Please sign in to comment.