Mercurial > p > roundup > code
changeset 1835:461d8aa81376
merge from maint branch
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 07 Oct 2003 06:18:45 +0000 |
| parents | f7b0ca3de3dc |
| children | 94e430ad4fdb |
| files | CHANGES.txt doc/upgrading.txt templates/classic/detectors/__init__.py templates/minimal/detectors/__init__.py |
| diffstat | 4 files changed, 25 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Tue Oct 07 06:03:53 2003 +0000 +++ b/CHANGES.txt Tue Oct 07 06:18:45 2003 +0000 @@ -6,6 +6,12 @@ - support confirming registration by replying to the email (sf bug 763668) +2003-10-?? 0.6.3 +Fixed: +- Fixed detectors fix incorrectly fixed in bugfix release 0.6.2 +- Added note to upgrading doc for detectors fix in 0.6.2 + + 2003-09-29 0.6.2 Fixed: - cleaned up, clarified internal caching API in *dbm backends
--- a/doc/upgrading.txt Tue Oct 07 06:03:53 2003 +0000 +++ b/doc/upgrading.txt Tue Oct 07 06:18:45 2003 +0000 @@ -18,6 +18,21 @@ +Migrating from 0.6.x to 0.6.3 +============================= + +0.6.3 Configuration +------------------- + +You will need to copy the file:: + + templates/classic/detectors/__init__.py + +to your tracker's ``detectors`` directory, replacing the one already there. +This fixes a couple of bugs in that file. + + + Migrating from 0.5 to 0.6 =========================
--- a/templates/classic/detectors/__init__.py Tue Oct 07 06:03:53 2003 +0000 +++ b/templates/classic/detectors/__init__.py Tue Oct 07 06:18:45 2003 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: __init__.py,v 1.3 2003-09-04 23:44:56 richard Exp $ +#$Id: __init__.py,v 1.4 2003-10-07 06:18:45 richard Exp $ import sys, os, imp @@ -31,7 +31,7 @@ path = os.path.abspath(os.path.join(this_dir, filename)) fp = open(path) try: - module = imp.load_module(name, open(path), path, + module = imp.load_module(name, fp, path, ('.py', 'r', imp.PY_SOURCE)) finally: fp.close()
--- a/templates/minimal/detectors/__init__.py Tue Oct 07 06:03:53 2003 +0000 +++ b/templates/minimal/detectors/__init__.py Tue Oct 07 06:18:45 2003 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: __init__.py,v 1.3 2003-09-04 23:44:56 richard Exp $ +#$Id: __init__.py,v 1.4 2003-10-07 06:18:45 richard Exp $ import sys, os, imp @@ -31,7 +31,7 @@ path = os.path.abspath(os.path.join(this_dir, filename)) fp = open(path) try: - module = imp.load_module(name, open(path), path, + module = imp.load_module(name, fp, path, ('.py', 'r', imp.PY_SOURCE)) finally: fp.close()
