summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/treesync.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32159: Remove tools for CVS and Subversion (#4615)Victor Stinner2017-11-281-210/+0
| | | | | | | | | | CPython migrated from CVS to Subversion, to Mercurial, and then to Git. CVS and Subversion are not more used to develop CPython. * platform module: drop support for sys.subversion. The sys.subversion attribute has been removed in Python 3.3. * Remove Misc/svnmap.txt * Remove Tools/scripts/svneol.py * Remove Tools/scripts/treesync.py
* bpo-32155: Bugfixes found by flake8 F841 warnings (#4608)Victor Stinner2017-11-281-1/+1
| | | | | | | | | | | * distutils.config: Use the PyPIRCCommand.realm attribute if set * turtledemo: wait until macOS osascript command completes to not create a zombie process * Tools/scripts/treesync.py: declare 'default_answer' and 'create_files' as globals to modify them with the command line arguments. Previously, -y, -n, -f and -a options had no effect. flake8 warning: "F841 local variable 'p' is assigned to but never used".
* Use OESeeror instead of os.error (#16720)Andrew Svetlov2012-12-241-1/+1
| | | | Patch by Serhiy Storchaka.
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Ran 2to3 over scripts directory.Georg Brandl2008-05-161-1/+1
|
* Convert print statements to function calls in Tools/.Collin Winter2007-08-031-24/+24
|
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-1/+1
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Get rid of a bunch more raw_input referencesNeal Norwitz2006-03-171-0/+5
|
* [Patch #1005491 ] use __name__ == '__main__' in scriptsAndrew M. Kuchling2004-08-091-1/+2
|
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-111-4/+4
| | | | | | | | (with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining.
* Whitespace normalization.Tim Peters2001-01-171-2/+2
|
* give in to tab policeGuido van Rossum1998-03-241-98/+98
|
* When checking for equality, open the slave file in text mode so itGuido van Rossum1997-11-041-2/+6
| | | | | | | | will compare equal even if the master file uses only \n to terminate lines (this is by far the most common situation). Also, check for the case where the master file is missing, and print the time difference in seconds when the slave file appears newer than the master (for debugging).
* Use correct keyword parameter when calling copy with answer option!Guido van Rossum1997-08-181-2/+2
|
* Source tree synchronization tool (for Windowes, mostly)Guido van Rossum1997-08-141-0/+200