Skip to content

Commit

Permalink
distutils: avoid circular dependency from time module dur
Browse files Browse the repository at this point in the history
Co-authored-by: Алексей <[email protected]>
  • Loading branch information
Alexpux authored and lazka committed Jul 19, 2023
1 parent c1e8341 commit 3885b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/distutils/cygwinccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
import os
import sys
import copy
from subprocess import Popen, PIPE, check_output
import re

from distutils.unixccompiler import UnixCCompiler
Expand Down Expand Up @@ -383,6 +382,7 @@ def _find_exe_version(cmd):
executable = cmd.split()[0]
if find_executable(executable) is None:
return None
from subprocess import Popen, PIPE
out = Popen(cmd, shell=True, stdout=PIPE).stdout
try:
out_string = out.read()
Expand Down

0 comments on commit 3885b75

Please sign in to comment.