cpython: eb2991f7cdc8 (original) (raw)

Mercurial > cpython

changeset 73314:eb2991f7cdc8

Issue #13307: fix bdist_rpm test failures [#13307]

Antoine Pitrou solipsis@pitrou.net
date Thu, 03 Nov 2011 02:46:52 +0100
parents ab11a6a73683(current diff)2c0253d4d9ba(diff)
children a1c17a5a460f
files
diffstat 2 files changed, 6 insertions(+), 5 deletions(-)[+] [-] Lib/distutils/command/build_py.py 6 Lib/distutils/command/install_lib.py 5

line wrap: on

line diff

--- a/Lib/distutils/command/build_py.py +++ b/Lib/distutils/command/build_py.py @@ -3,7 +3,7 @@ Implements the Distutils 'build_py' command.""" import sys, os -import sys +import imp from glob import glob from distutils.core import Command @@ -311,9 +311,9 @@ class build_py (Command): outputs.append(filename) if include_bytecode: if self.compile:

outputs += [ os.path.join(build_dir, filename)

--- a/Lib/distutils/command/install_lib.py +++ b/Lib/distutils/command/install_lib.py @@ -4,6 +4,7 @@ Implements the Distutils 'install_lib' c (install all Python modules).""" import os +import imp import sys from distutils.core import Command @@ -164,9 +165,9 @@ class install_lib(Command): if ext != PYTHON_SOURCE_EXTENSION: continue if self.compile:

return bytecode_files