From 7c9719cf74a4c5fc04a07b706d71302bdd8c04c5 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Thu, 28 Jul 2011 22:32:49 +0800 Subject: Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller. --- Lib/curses/__init__.py | 2 -- Lib/curses/panel.py | 2 -- Lib/distutils/__init__.py | 2 -- Lib/distutils/archive_util.py | 2 -- Lib/distutils/bcppcompiler.py | 2 -- Lib/distutils/ccompiler.py | 2 -- Lib/distutils/cmd.py | 2 -- Lib/distutils/command/__init__.py | 2 -- Lib/distutils/command/bdist.py | 2 -- Lib/distutils/command/bdist_dumb.py | 2 -- Lib/distutils/command/bdist_rpm.py | 2 -- Lib/distutils/command/bdist_wininst.py | 2 -- Lib/distutils/command/build.py | 2 -- Lib/distutils/command/build_clib.py | 2 -- Lib/distutils/command/build_ext.py | 2 -- Lib/distutils/command/build_py.py | 2 -- Lib/distutils/command/build_scripts.py | 2 -- Lib/distutils/command/check.py | 2 -- Lib/distutils/command/clean.py | 2 -- Lib/distutils/command/config.py | 2 -- Lib/distutils/command/install.py | 2 -- Lib/distutils/command/install_data.py | 2 -- Lib/distutils/command/install_headers.py | 2 -- Lib/distutils/command/install_lib.py | 2 -- Lib/distutils/command/install_scripts.py | 2 -- Lib/distutils/command/register.py | 2 -- Lib/distutils/command/sdist.py | 2 -- Lib/distutils/core.py | 2 -- Lib/distutils/cygwinccompiler.py | 2 -- Lib/distutils/debug.py | 2 -- Lib/distutils/dep_util.py | 2 -- Lib/distutils/dir_util.py | 2 -- Lib/distutils/dist.py | 2 -- Lib/distutils/emxccompiler.py | 2 -- Lib/distutils/errors.py | 2 -- Lib/distutils/extension.py | 2 -- Lib/distutils/fancy_getopt.py | 2 -- Lib/distutils/file_util.py | 2 -- Lib/distutils/filelist.py | 2 -- Lib/distutils/msvc9compiler.py | 2 -- Lib/distutils/msvccompiler.py | 2 -- Lib/distutils/spawn.py | 2 -- Lib/distutils/sysconfig.py | 2 -- Lib/distutils/tests/test_archive_util.py | 2 -- Lib/distutils/text_file.py | 2 -- Lib/distutils/unixccompiler.py | 2 -- Lib/distutils/util.py | 2 -- Lib/tarfile.py | 4 ++-- Lib/textwrap.py | 2 -- 49 files changed, 2 insertions(+), 98 deletions(-) diff --git a/Lib/curses/__init__.py b/Lib/curses/__init__.py index bd7d5f6..303ea3e 100644 --- a/Lib/curses/__init__.py +++ b/Lib/curses/__init__.py @@ -10,8 +10,6 @@ the package, and perhaps a particular module inside it. """ -__revision__ = "$Id$" - from _curses import * from curses.wrapper import wrapper import os as _os diff --git a/Lib/curses/panel.py b/Lib/curses/panel.py index aacca85..067afef 100644 --- a/Lib/curses/panel.py +++ b/Lib/curses/panel.py @@ -3,6 +3,4 @@ Module for using panels with curses. """ -__revision__ = "$Id$" - from _curses_panel import * diff --git a/Lib/distutils/__init__.py b/Lib/distutils/__init__.py index a470ade..c06002e 100644 --- a/Lib/distutils/__init__.py +++ b/Lib/distutils/__init__.py @@ -8,8 +8,6 @@ used from a setup script as setup (...) """ -__revision__ = "$Id$" - # Distutils version # # Updated automatically by the Python release process. diff --git a/Lib/distutils/archive_util.py b/Lib/distutils/archive_util.py index c06eba3..fcda08e 100644 --- a/Lib/distutils/archive_util.py +++ b/Lib/distutils/archive_util.py @@ -3,8 +3,6 @@ Utility functions for creating archive files (tarballs, zip files, that sort of thing).""" -__revision__ = "$Id$" - import os from warnings import warn import sys diff --git a/Lib/distutils/bcppcompiler.py b/Lib/distutils/bcppcompiler.py index c5e5cd2..9f4c432 100644 --- a/Lib/distutils/bcppcompiler.py +++ b/Lib/distutils/bcppcompiler.py @@ -11,8 +11,6 @@ for the Borland C++ compiler. # someone should sit down and factor out the common code as # WindowsCCompiler! --GPW -__revision__ = "$Id$" - import os from distutils.errors import \ diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index 291c008..c795c95 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -3,8 +3,6 @@ Contains CCompiler, an abstract base class that defines the interface for the Distutils compiler abstraction model.""" -__revision__ = "$Id$" - import sys, os, re from distutils.errors import * from distutils.spawn import spawn diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index 5b1d085..3ea0810 100644 --- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -4,8 +4,6 @@ Provides the Command class, the base class for the command classes in the distutils.command package. """ -__revision__ = "$Id$" - import sys, os, re from distutils.errors import DistutilsOptionError from distutils import util, dir_util, file_util, archive_util, dep_util diff --git a/Lib/distutils/command/__init__.py b/Lib/distutils/command/__init__.py index c379edb..481eea9 100644 --- a/Lib/distutils/command/__init__.py +++ b/Lib/distutils/command/__init__.py @@ -3,8 +3,6 @@ Package containing implementation of all the standard Distutils commands.""" -__revision__ = "$Id$" - __all__ = ['build', 'build_py', 'build_ext', diff --git a/Lib/distutils/command/bdist.py b/Lib/distutils/command/bdist.py index 1a360b5..c5188eb 100644 --- a/Lib/distutils/command/bdist.py +++ b/Lib/distutils/command/bdist.py @@ -3,8 +3,6 @@ Implements the Distutils 'bdist' command (create a built [binary] distribution).""" -__revision__ = "$Id$" - import os from distutils.core import Command from distutils.errors import * diff --git a/Lib/distutils/command/bdist_dumb.py b/Lib/distutils/command/bdist_dumb.py index 2d39922..170e889 100644 --- a/Lib/distutils/command/bdist_dumb.py +++ b/Lib/distutils/command/bdist_dumb.py @@ -4,8 +4,6 @@ Implements the Distutils 'bdist_dumb' command (create a "dumb" built distribution -- i.e., just an archive to be unpacked under $prefix or $exec_prefix).""" -__revision__ = "$Id$" - import os from distutils.core import Command from distutils.util import get_platform diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py index e2ae877..678e118 100644 --- a/Lib/distutils/command/bdist_rpm.py +++ b/Lib/distutils/command/bdist_rpm.py @@ -3,8 +3,6 @@ Implements the Distutils 'bdist_rpm' command (create RPM source and binary distributions).""" -__revision__ = "$Id$" - import sys, os from distutils.core import Command from distutils.debug import DEBUG diff --git a/Lib/distutils/command/bdist_wininst.py b/Lib/distutils/command/bdist_wininst.py index b2e2fc6..b7916e3 100644 --- a/Lib/distutils/command/bdist_wininst.py +++ b/Lib/distutils/command/bdist_wininst.py @@ -3,8 +3,6 @@ Implements the Distutils 'bdist_wininst' command: create a windows installer exe-program.""" -__revision__ = "$Id$" - import sys, os from distutils.core import Command from distutils.util import get_platform diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py index 9c2667c..cfc15cf 100644 --- a/Lib/distutils/command/build.py +++ b/Lib/distutils/command/build.py @@ -2,8 +2,6 @@ Implements the Distutils 'build' command.""" -__revision__ = "$Id$" - import sys, os from distutils.core import Command from distutils.errors import DistutilsOptionError diff --git a/Lib/distutils/command/build_clib.py b/Lib/distutils/command/build_clib.py index 428011a..3e20ef2 100644 --- a/Lib/distutils/command/build_clib.py +++ b/Lib/distutils/command/build_clib.py @@ -4,8 +4,6 @@ Implements the Distutils 'build_clib' command, to build a C/C++ library that is included in the module distribution and needed by an extension module.""" -__revision__ = "$Id$" - # XXX this module has *lots* of code ripped-off quite transparently from # build_ext.py -- not surprisingly really, as the work required to build diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index fb31648..8d843d6 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -4,8 +4,6 @@ Implements the Distutils 'build_ext' command, for building extension modules (currently limited to C extensions, should accommodate C++ extensions ASAP).""" -__revision__ = "$Id$" - import sys, os, re from distutils.core import Command from distutils.errors import * diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index 26002e4..3868c12 100644 --- a/Lib/distutils/command/build_py.py +++ b/Lib/distutils/command/build_py.py @@ -2,8 +2,6 @@ Implements the Distutils 'build_py' command.""" -__revision__ = "$Id$" - import sys, os import sys from glob import glob diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py index a43a7c3..ec43477 100644 --- a/Lib/distutils/command/build_scripts.py +++ b/Lib/distutils/command/build_scripts.py @@ -2,8 +2,6 @@ Implements the Distutils 'build_scripts' command.""" -__revision__ = "$Id$" - import os, re from stat import ST_MODE from distutils import sysconfig diff --git a/Lib/distutils/command/check.py b/Lib/distutils/command/check.py index 2657c69..b67c795 100644 --- a/Lib/distutils/command/check.py +++ b/Lib/distutils/command/check.py @@ -2,8 +2,6 @@ Implements the Distutils 'check' command. """ -__revision__ = "$Id$" - from distutils.core import Command from distutils.errors import DistutilsSetupError diff --git a/Lib/distutils/command/clean.py b/Lib/distutils/command/clean.py index ae1d22c..0cb2701 100644 --- a/Lib/distutils/command/clean.py +++ b/Lib/distutils/command/clean.py @@ -4,8 +4,6 @@ Implements the Distutils 'clean' command.""" # contributed by Bastian Kleineidam , added 2000-03-18 -__revision__ = "$Id$" - import os from distutils.core import Command from distutils.dir_util import remove_tree diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index ac80a54..847e858 100644 --- a/Lib/distutils/command/config.py +++ b/Lib/distutils/command/config.py @@ -9,8 +9,6 @@ configure-like tasks: "try to compile this C code", or "figure out where this header file lives". """ -__revision__ = "$Id$" - import sys, os, re from distutils.core import Command diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index bdc3a09..0161898 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -2,8 +2,6 @@ Implements the Distutils 'install' command.""" -__revision__ = "$Id$" - import sys import os diff --git a/Lib/distutils/command/install_data.py b/Lib/distutils/command/install_data.py index ab40797..947cd76 100644 --- a/Lib/distutils/command/install_data.py +++ b/Lib/distutils/command/install_data.py @@ -5,8 +5,6 @@ platform-independent data files.""" # contributed by Bastian Kleineidam -__revision__ = "$Id$" - import os from distutils.core import Command from distutils.util import change_root, convert_path diff --git a/Lib/distutils/command/install_headers.py b/Lib/distutils/command/install_headers.py index 38125b5..9bb0b18 100644 --- a/Lib/distutils/command/install_headers.py +++ b/Lib/distutils/command/install_headers.py @@ -3,8 +3,6 @@ Implements the Distutils 'install_headers' command, to install C/C++ header files to the Python include directory.""" -__revision__ = "$Id$" - from distutils.core import Command diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/install_lib.py index 6022d30..3d01d07 100644 --- a/Lib/distutils/command/install_lib.py +++ b/Lib/distutils/command/install_lib.py @@ -3,8 +3,6 @@ Implements the Distutils 'install_lib' command (install all Python modules).""" -__revision__ = "$Id$" - import os import sys diff --git a/Lib/distutils/command/install_scripts.py b/Lib/distutils/command/install_scripts.py index ea8d5aa..31a1130 100644 --- a/Lib/distutils/command/install_scripts.py +++ b/Lib/distutils/command/install_scripts.py @@ -5,8 +5,6 @@ Python scripts.""" # contributed by Bastian Kleineidam -__revision__ = "$Id$" - import os from distutils.core import Command from distutils import log diff --git a/Lib/distutils/command/register.py b/Lib/distutils/command/register.py index bdf5f8f..99545af 100644 --- a/Lib/distutils/command/register.py +++ b/Lib/distutils/command/register.py @@ -5,8 +5,6 @@ Implements the Distutils 'register' command (register with the repository). # created 2002/10/21, Richard Jones -__revision__ = "$Id$" - import os, string, getpass import io import urllib.parse, urllib.request diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py index fdbebd7..48cb26b 100644 --- a/Lib/distutils/command/sdist.py +++ b/Lib/distutils/command/sdist.py @@ -2,8 +2,6 @@ Implements the Distutils 'sdist' command (create a source distribution).""" -__revision__ = "$Id$" - import os import string import sys diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index c0a04de..260332a 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -6,8 +6,6 @@ indirectly provides the Distribution and Command classes, although they are really defined in distutils.dist and distutils.cmd. """ -__revision__ = "$Id$" - import os import sys diff --git a/Lib/distutils/cygwinccompiler.py b/Lib/distutils/cygwinccompiler.py index 536aa6b..819e1a9 100644 --- a/Lib/distutils/cygwinccompiler.py +++ b/Lib/distutils/cygwinccompiler.py @@ -45,8 +45,6 @@ cygwin in no-cygwin mode). # * mingw gcc 3.2/ld 2.13 works # (ld supports -shared) -__revision__ = "$Id$" - import os import sys import copy diff --git a/Lib/distutils/debug.py b/Lib/distutils/debug.py index 2886744..daf1660 100644 --- a/Lib/distutils/debug.py +++ b/Lib/distutils/debug.py @@ -1,7 +1,5 @@ import os -__revision__ = "$Id$" - # If DISTUTILS_DEBUG is anything other than the empty string, we run in # debug mode. DEBUG = os.environ.get('DISTUTILS_DEBUG') diff --git a/Lib/distutils/dep_util.py b/Lib/distutils/dep_util.py index 07b3549..d74f5e4 100644 --- a/Lib/distutils/dep_util.py +++ b/Lib/distutils/dep_util.py @@ -4,8 +4,6 @@ Utility functions for simple, timestamp-based dependency of files and groups of files; also, function based entirely on such timestamp dependency analysis.""" -__revision__ = "$Id$" - import os from distutils.errors import DistutilsFileError diff --git a/Lib/distutils/dir_util.py b/Lib/distutils/dir_util.py index 5b005f0..30daf49 100644 --- a/Lib/distutils/dir_util.py +++ b/Lib/distutils/dir_util.py @@ -2,8 +2,6 @@ Utility functions for manipulating directories and directory trees.""" -__revision__ = "$Id$" - import os, sys import errno from distutils.errors import DistutilsFileError, DistutilsInternalError diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 01f1f1c..02cd79b 100644 --- a/Lib/distutils/dist.py +++ b/Lib/distutils/dist.py @@ -4,8 +4,6 @@ Provides the Distribution class, which represents the module distribution being built/installed/distributed. """ -__revision__ = "$Id$" - import sys, os, re try: diff --git a/Lib/distutils/emxccompiler.py b/Lib/distutils/emxccompiler.py index 16dce53..3675f8d 100644 --- a/Lib/distutils/emxccompiler.py +++ b/Lib/distutils/emxccompiler.py @@ -19,8 +19,6 @@ handles the EMX port of the GNU C compiler to OS/2. # # * EMX gcc 2.81/EMX 0.9d fix03 -__revision__ = "$Id$" - import os,sys,copy from distutils.ccompiler import gen_preprocess_options, gen_lib_options from distutils.unixccompiler import UnixCCompiler diff --git a/Lib/distutils/errors.py b/Lib/distutils/errors.py index acecacc..eb13c98 100644 --- a/Lib/distutils/errors.py +++ b/Lib/distutils/errors.py @@ -8,8 +8,6 @@ usually raised for errors that are obviously the end-user's fault This module is safe to use in "from ... import *" mode; it only exports symbols whose names start with "Distutils" and end with "Error".""" -__revision__ = "$Id$" - class DistutilsError (Exception): """The root of all Distutils evil.""" pass diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py index 2d1c36b..a93655a 100644 --- a/Lib/distutils/extension.py +++ b/Lib/distutils/extension.py @@ -3,8 +3,6 @@ Provides the Extension class, used to describe C/C++ extension modules in setup scripts.""" -__revision__ = "$Id$" - import os import sys import warnings diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py index 879d4d2..7d170dd 100644 --- a/Lib/distutils/fancy_getopt.py +++ b/Lib/distutils/fancy_getopt.py @@ -8,8 +8,6 @@ additional features: * options set attributes of a passed-in object """ -__revision__ = "$Id$" - import sys, string, re import getopt from distutils.errors import * diff --git a/Lib/distutils/file_util.py b/Lib/distutils/file_util.py index e1eb932..9bdd14e 100644 --- a/Lib/distutils/file_util.py +++ b/Lib/distutils/file_util.py @@ -3,8 +3,6 @@ Utility functions for operating on single files. """ -__revision__ = "$Id$" - import os from distutils.errors import DistutilsFileError from distutils import log diff --git a/Lib/distutils/filelist.py b/Lib/distutils/filelist.py index 06a8da9..a94b5c8 100644 --- a/Lib/distutils/filelist.py +++ b/Lib/distutils/filelist.py @@ -4,8 +4,6 @@ Provides the FileList class, used for poking about the filesystem and building lists of files. """ -__revision__ = "$Id$" - import os, re import fnmatch from distutils.util import convert_path diff --git a/Lib/distutils/msvc9compiler.py b/Lib/distutils/msvc9compiler.py index e849e16..0cddb5c 100644 --- a/Lib/distutils/msvc9compiler.py +++ b/Lib/distutils/msvc9compiler.py @@ -12,8 +12,6 @@ for older versions of VS in distutils.msvccompiler. # finding DevStudio (through the registry) # ported to VS2005 and VS 2008 by Christian Heimes -__revision__ = "$Id$" - import os import subprocess import sys diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index 1cd0f91..8116656 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -8,8 +8,6 @@ for the Microsoft Visual Studio. # hacked by Robin Becker and Thomas Heller to do a better job of # finding DevStudio (through the registry) -__revision__ = "$Id$" - import sys, os from distutils.errors import \ DistutilsExecError, DistutilsPlatformError, \ diff --git a/Lib/distutils/spawn.py b/Lib/distutils/spawn.py index 2b62c96..f58c55f 100644 --- a/Lib/distutils/spawn.py +++ b/Lib/distutils/spawn.py @@ -6,8 +6,6 @@ Also provides the 'find_executable()' to search the path for a given executable name. """ -__revision__ = "$Id$" - import sys import os diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index 9d7d190..5ea724c 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -9,8 +9,6 @@ Written by: Fred L. Drake, Jr. Email: """ -__revision__ = "$Id$" - import os import re import sys diff --git a/Lib/distutils/tests/test_archive_util.py b/Lib/distutils/tests/test_archive_util.py index f969849..8edfab4 100644 --- a/Lib/distutils/tests/test_archive_util.py +++ b/Lib/distutils/tests/test_archive_util.py @@ -1,6 +1,4 @@ """Tests for distutils.archive_util.""" -__revision__ = "$Id$" - import unittest import os import tarfile diff --git a/Lib/distutils/text_file.py b/Lib/distutils/text_file.py index 454725c..40b8484 100644 --- a/Lib/distutils/text_file.py +++ b/Lib/distutils/text_file.py @@ -4,8 +4,6 @@ provides the TextFile class, which gives an interface to text files that (optionally) takes care of stripping comments, ignoring blank lines, and joining lines with backslashes.""" -__revision__ = "$Id$" - import sys, os, io diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py index bf73416..c70a3cc 100644 --- a/Lib/distutils/unixccompiler.py +++ b/Lib/distutils/unixccompiler.py @@ -13,8 +13,6 @@ the "typical" Unix-style command-line C compiler: * link shared library handled by 'cc -shared' """ -__revision__ = "$Id$" - import os, sys, re from distutils import sysconfig diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index d6f89d6..023ddff 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py @@ -4,8 +4,6 @@ Miscellaneous utility functions -- anything that doesn't fit into one of the other *util.py modules. """ -__revision__ = "$Id$" - import sys, os, string, re from distutils.errors import DistutilsPlatformError from distutils.dep_util import newer diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 0f9d1da..63c7554 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -33,8 +33,8 @@ __version__ = "$Revision$" version = "0.9.0" __author__ = "Lars Gust\u00e4bel (lars@gustaebel.de)" -__date__ = "$Date$" -__cvsid__ = "$Id$" +__date__ = "$Date: 2011-02-25 17:42:01 +0200 (Fri, 25 Feb 2011) $" +__cvsid__ = "$Id: tarfile.py 88586 2011-02-25 15:42:01Z marc-andre.lemburg $" __credits__ = "Gustavo Niemeyer, Niels Gust\u00e4bel, Richard Townsend." #--------- diff --git a/Lib/textwrap.py b/Lib/textwrap.py index f4886a1..dfb4005 100644 --- a/Lib/textwrap.py +++ b/Lib/textwrap.py @@ -5,8 +5,6 @@ # Copyright (C) 2002, 2003 Python Software Foundation. # Written by Greg Ward -__revision__ = "$Id$" - import string, re __all__ = ['TextWrapper', 'wrap', 'fill', 'dedent'] -- cgit v0.12