Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f6aaf845
Commit
f6aaf845
authored
Sep 05, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed embarrassing logic bug in read_lines_to_outerboundary().
parent
7e2edeb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Lib/cgi.py
Lib/cgi.py
+3
-2
No files found.
Lib/cgi.py
View file @
f6aaf845
...
@@ -399,7 +399,7 @@ backwards compatible and debugging classes and functions?
...
@@ -399,7 +399,7 @@ backwards compatible and debugging classes and functions?
# " <== Emacs font-lock de-bogo-kludgificocity
# " <== Emacs font-lock de-bogo-kludgificocity
__version__
=
"2.0b
3
"
__version__
=
"2.0b
4
"
# Imports
# Imports
...
@@ -891,6 +891,7 @@ class FieldStorage:
...
@@ -891,6 +891,7 @@ class FieldStorage:
if
strippedline
==
last
:
if
strippedline
==
last
:
self
.
done
=
1
self
.
done
=
1
break
break
odelim
=
delim
if
line
[
-
2
:]
==
"
\
r
\
n
"
:
if
line
[
-
2
:]
==
"
\
r
\
n
"
:
delim
=
"
\
r
\
n
"
delim
=
"
\
r
\
n
"
line
=
line
[:
-
2
]
line
=
line
[:
-
2
]
...
@@ -899,7 +900,7 @@ class FieldStorage:
...
@@ -899,7 +900,7 @@ class FieldStorage:
line
=
line
[:
-
1
]
line
=
line
[:
-
1
]
else
:
else
:
delim
=
""
delim
=
""
self
.
file
.
write
(
delim
+
line
)
self
.
file
.
write
(
o
delim
+
line
)
def
skip_lines
(
self
):
def
skip_lines
(
self
):
"""Internal: skip lines until outer boundary if defined."""
"""Internal: skip lines until outer boundary if defined."""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment