diff options
author | Fred Drake <fdrake@acm.org> | 2001-07-20 18:53:34 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-07-20 18:53:34 (GMT) |
commit | 0f715d2aa119d0391dd50919c04bfaa8a4452cf0 (patch) | |
tree | f38273d601e48664093c0c700c62fe54f6a086e4 | |
parent | 27eebb8c766ae0d87f7ef17a9436ac4f45274253 (diff) | |
download | cpython-0f715d2aa119d0391dd50919c04bfaa8a4452cf0.zip cpython-0f715d2aa119d0391dd50919c04bfaa8a4452cf0.tar.gz cpython-0f715d2aa119d0391dd50919c04bfaa8a4452cf0.tar.bz2 |
Use string.ascii_letters instead of string.letters (SF bug #226706).
Work-around a font-lock bogosity.
-rw-r--r-- | Lib/pipes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/pipes.py b/Lib/pipes.py index aaad0eb..1e16435 100644 --- a/Lib/pipes.py +++ b/Lib/pipes.py @@ -3,8 +3,8 @@ The problem: ------------ -Suppose you have some data that you want to convert to another format -(e.g. from GIF image format to PPM image format). Maybe the +Suppose you have some data that you want to convert to another format, +such as from GIF image format to PPM image format. Maybe the conversion involves several steps (e.g. piping it through compress or uuencode). Some of the conversion steps may require that their input is a disk file, others may be able to read standard input; similar for @@ -264,7 +264,7 @@ def makepipeline(infile, steps, outfile): # Reliably quote a string as a single argument for /bin/sh -_safechars = string.letters + string.digits + '!@%_-+=:,./' # Safe unquoted +_safechars = string.ascii_letters + string.digits + '!@%_-+=:,./' # Safe unquoted _funnychars = '"`$\\' # Unsafe inside "double quotes" def quote(file): |