diff templates/minimal/detectors/__init__.py @ 1835:461d8aa81376

merge from maint branch
author Richard Jones <richard@users.sourceforge.net>
date Tue, 07 Oct 2003 06:18:45 +0000
parents 7752267776cc
children
line wrap: on
line diff
--- 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()

Roundup Issue Tracker: http://roundup-tracker.org/