Skip to content

Commit 4bc3e23

Browse files
author
Richard Jones
committed
Fixed detectors fix incorrectly fixed in bugfix release 0.6.2
1 parent a6fb733 commit 4bc3e23

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ are given with the most recent entry first.
33

44
2003-10-?? 0.6.3
55
Fixed:
6+
- Fixed detectors fix incorrectly fixed in bugfix release 0.6.2
67
- Added note to upgrading doc for detectors fix in 0.6.2
78

89

templates/classic/detectors/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
#$Id: __init__.py,v 1.1.2.2 2003-09-04 23:46:09 richard Exp $
18+
#$Id: __init__.py,v 1.1.2.3 2003-10-07 06:15:22 richard Exp $
1919

2020
import sys, os, imp
2121

@@ -31,7 +31,7 @@ def init(db):
3131
path = os.path.abspath(os.path.join(this_dir, filename))
3232
fp = open(path)
3333
try:
34-
module = imp.load_module(name, open(path), path,
34+
module = imp.load_module(name, fp, path,
3535
('.py', 'r', imp.PY_SOURCE))
3636
finally:
3737
fp.close()

templates/minimal/detectors/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
#$Id: __init__.py,v 1.1.2.2 2003-09-04 23:46:09 richard Exp $
18+
#$Id: __init__.py,v 1.1.2.3 2003-10-07 06:15:22 richard Exp $
1919

2020
import sys, os, imp
2121

@@ -31,7 +31,7 @@ def init(db):
3131
path = os.path.abspath(os.path.join(this_dir, filename))
3232
fp = open(path)
3333
try:
34-
module = imp.load_module(name, open(path), path,
34+
module = imp.load_module(name, fp, path,
3535
('.py', 'r', imp.PY_SOURCE))
3636
finally:
3737
fp.close()

0 commit comments

Comments
 (0)