Commit 9568a570 authored by Jim Fulton's avatar Jim Fulton

Added 'Main' as default module.

Took out break in non-existent xxx_find_object.
parent be15d817
...@@ -60,7 +60,7 @@ Options ...@@ -60,7 +60,7 @@ Options
is called. Finally, enter 's' is called. Finally, enter 's'
followed a carriage return. followed a carriage return.
-s Don't generate any output -s Don\'t generate any output
Examples Examples
...@@ -74,7 +74,7 @@ Examples ...@@ -74,7 +74,7 @@ Examples
s s
$Id: Test.py,v 1.11 1997/04/22 03:47:29 jim Exp $ $Id: Test.py,v 1.12 1997/09/02 21:15:34 jim Exp $
''' '''
# Copyright # Copyright
# #
...@@ -128,7 +128,7 @@ $Id: Test.py,v 1.11 1997/04/22 03:47:29 jim Exp $ ...@@ -128,7 +128,7 @@ $Id: Test.py,v 1.11 1997/04/22 03:47:29 jim Exp $
# #
# #
# #
__version__='$Revision: 1.11 $'[11:-2] __version__='$Revision: 1.12 $'[11:-2]
#! /usr/local/bin/python #! /usr/local/bin/python
...@@ -214,6 +214,7 @@ def publish(script,path_info,u=None,p=None,d=None,t=None,e={},s=None): ...@@ -214,6 +214,7 @@ def publish(script,path_info,u=None,p=None,d=None,t=None,e={},s=None):
timeit=t timeit=t
silent=s silent=s
if not script: script='+Main'
if script[0]=='+': script='../../lib/python/'+script[1:] if script[0]=='+': script='../../lib/python/'+script[1:]
env=e env=e
...@@ -295,8 +296,8 @@ def publish(script,path_info,u=None,p=None,d=None,t=None,e={},s=None): ...@@ -295,8 +296,8 @@ def publish(script,path_info,u=None,p=None,d=None,t=None,e={},s=None):
fbreak(db,ModulePublisher.publish) fbreak(db,ModulePublisher.publish)
fbreak(db,ModulePublisher.call_object) fbreak(db,ModulePublisher.call_object)
fbreak(db,cgi_module_publisher.new_find_object) #fbreak(db,cgi_module_publisher.new_find_object)
fbreak(db,cgi_module_publisher.old_find_object) #fbreak(db,cgi_module_publisher.old_find_object)
dbdata={'breakpoints':(), 'env':env} dbdata={'breakpoints':(), 'env':env}
b='' b=''
...@@ -337,6 +338,10 @@ if __name__ == "__main__": main() ...@@ -337,6 +338,10 @@ if __name__ == "__main__": main()
# #
# $Log: Test.py,v $ # $Log: Test.py,v $
# Revision 1.12 1997/09/02 21:15:34 jim
# Added 'Main' as default module.
# Took out break in non-existent xxx_find_object.
#
# Revision 1.11 1997/04/22 03:47:29 jim # Revision 1.11 1997/04/22 03:47:29 jim
# *** empty log message *** # *** empty log message ***
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment