Commit 45dc70ed authored by Ken Manheimer's avatar Ken Manheimer

Retain backwards python1.5.2 compatibility - convert python2 function

call: 'func(*args)' to old, python1.5.2: 'apply(func, args)'.

(When working on pre-zope2.4 code, you should avoid developing in an
environemnt where python2 is the default python...)
parent da9b7c2a
......@@ -86,7 +86,7 @@
"""Start the server storage.
"""
__version__ = "$Revision: 1.17 $"[11:-2]
__version__ = "$Revision: 1.18 $"[11:-2]
import sys, os, getopt, string
......@@ -322,8 +322,8 @@ def main(argv):
except:
info2=sys.exc_info()
import traceback
traceback.print_exception(*info)
traceback.print_exception(*info2)
apply(traceback.print_exception, info)
apply(traceback.print_exception, info2)
sys.exit(0)
......
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