summaryrefslogtreecommitdiffstats
path: root/Lib/pdb.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-10-12 21:51:32 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-10-12 21:51:32 (GMT)
commite718f615b8365f331f9f9038d1273ba370e44a06 (patch)
tree9cc65a82fc29dd15604ea34f74569ae521068cb7 /Lib/pdb.py
parent4eb59782a8d9cbe220766640ec91773d5250a9fd (diff)
downloadcpython-e718f615b8365f331f9f9038d1273ba370e44a06.zip
cpython-e718f615b8365f331f9f9038d1273ba370e44a06.tar.gz
cpython-e718f615b8365f331f9f9038d1273ba370e44a06.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-xLib/pdb.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index f07e155..3c229ab 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -946,7 +946,7 @@ Deletes the specified alias."""
into an absolute file name.
"""
if os.path.isabs(filename) and os.path.exists(filename):
- return filename
+ return filename
f = os.path.join(sys.path[0], filename)
if os.path.exists(f) and self.canonic(f) == self.mainpyfile:
return f
@@ -967,8 +967,8 @@ Deletes the specified alias."""
# Start with fresh empty copy of globals and locals and tell the script
# that it's being run as __main__ to avoid scripts being able to access
# the pdb.py namespace.
- globals_ = {"__name__" : "__main__"}
- locals_ = globals_
+ globals_ = {"__name__" : "__main__"}
+ locals_ = globals_
# When bdb sets tracing, a number of call and line events happens
# BEFORE debugger even reaches user's code (and the exact sequence of
@@ -1057,7 +1057,7 @@ def main():
pdb._runscript(mainpyfile)
if pdb._user_requested_quit:
break
- print "The program finished and will be restarted"
+ print "The program finished and will be restarted"
except SystemExit:
# In most cases SystemExit does not warrant a post-mortem session.
print "The program exited via sys.exit(). Exit status: ",
@@ -1076,4 +1076,3 @@ def main():
# When invoked as main program, invoke the debugger on a script
if __name__=='__main__':
main()
-