You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
772 B

# HG changeset patch
# User Éric Araujo <merwok@netwok.org>
# Date 1394614885 14400
# Node ID 677327810121891704491bafa6209af5b60ebc91
# Parent 0f1237b61f58a77a159ab6e452782a8924ff2966
Fix missing import in bdist_rpm (#18045)
diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py
--- a/Lib/distutils/command/bdist_rpm.py
+++ b/Lib/distutils/command/bdist_rpm.py
@@ -12,6 +12,7 @@ import string
from distutils.core import Command
from distutils.debug import DEBUG
from distutils.file_util import write_file
+from distutils.sysconfig import get_python_version
from distutils.errors import (DistutilsOptionError, DistutilsPlatformError,
DistutilsFileError, DistutilsExecError)
from distutils import log