diff options
Diffstat (limited to 'index.py.patch')
-rw-r--r-- | index.py.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/index.py.patch b/index.py.patch deleted file mode 100644 index 14662d4642e3..000000000000 --- a/index.py.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- index.py.orig 2013-07-30 22:38:28.176512814 +0200 -+++ index.py 2013-07-30 22:38:38.383271418 +0200 -@@ -234,7 +234,7 @@ - apache._profiling_req = req - profilefile = defaults.var_dir + "/web/multisite.profile" - retcode = cProfile.run("import index; from mod_python import apache; index.handler(apache._profiling_req, False)", profilefile) -- file(profilefile + ".py", "w").write("#!/usr/bin/python\nimport pstats\nstats = pstats.Stats(%r)\nstats.sort_stats('time').print_stats()\n" % profilefile) -+ file(profilefile + ".py", "w").write("#!/usr/bin/python2\nimport pstats\nstats = pstats.Stats(%r)\nstats.sort_stats('time').print_stats()\n" % profilefile) - os.chmod(profilefile + ".py", 0755) - release_all_locks() - return apache.OK |