Skip to content

Commit e0f7adc

Browse files
Alexpuxlazka
authored andcommitted
distutils: avoid circular dependency from time module dur
Co-authored-by: Алексей <[email protected]>
1 parent 77438d9 commit e0f7adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/distutils/cygwinccompiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
import os
4949
import sys
5050
import copy
51-
from subprocess import Popen, PIPE, check_output
5251
import re
5352

5453
from distutils.unixccompiler import UnixCCompiler
@@ -383,6 +382,7 @@ def _find_exe_version(cmd):
383382
executable = cmd.split()[0]
384383
if find_executable(executable) is None:
385384
return None
385+
from subprocess import Popen, PIPE
386386
out = Popen(cmd, shell=True, stdout=PIPE).stdout
387387
try:
388388
out_string = out.read()

0 commit comments

Comments
 (0)