summaryrefslogtreecommitdiff
path: root/Doc/ref/fixps.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-24 20:58:52 +0000
committerGuido van Rossum <guido@python.org>1998-07-24 20:58:52 +0000
commitaca61a43ddb4bf2d8f9096883834d2952f242bb6 (patch)
tree3be75d963e0656b3942fdbdd0e3db92d574fbe6f /Doc/ref/fixps.py
parent6a2fe26861484c81e89b96889e35aa5d73a0e3b2 (diff)
downloadcpython-git-aca61a43ddb4bf2d8f9096883834d2952f242bb6.tar.gz
Removing all references to FrameMaker
Diffstat (limited to 'Doc/ref/fixps.py')
-rwxr-xr-xDoc/ref/fixps.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/Doc/ref/fixps.py b/Doc/ref/fixps.py
deleted file mode 100755
index 4b3218484c..0000000000
--- a/Doc/ref/fixps.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#! /usr/bin/env python
-
-"""Dumb script to edit a particular line in the PostScript.
-
-This makes it possible to print on A4 paper.
-"""
-
-f = open("ref.ps", "r")
-
-lines = f.readlines()
-f.close()
-didit = 0
-
-for i in range(100):
- if lines[i] == '/FMAllowPaperSizeMismatch false def\n':
- lines[i] = '/FMAllowPaperSizeMismatch true def\n'
- didit = 1
- break
-
-if not didit:
- print "ref.ps not changed"
-else:
- print "rewriting edited ref.ps"
- f = open("ref.ps", "w")
- f.writelines(lines)
- f.close()