summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2fbd70a)
raw | patch | inline | side by side (parent: 2fbd70a)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 11 Sep 2002 07:10:08 +0000 (07:10 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 11 Sep 2002 07:10:08 +0000 (07:10 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1136 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/templates/classic/detectors/__init__.py | patch | blob | history |
diff --git a/roundup/templates/classic/detectors/__init__.py b/roundup/templates/classic/detectors/__init__.py
index c67a30f75ae828fcca175a22705c5c378411f6c6..b595df88c64caf502a03d66b0bb01c3b71841fe5 100644 (file)
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-#$Id: __init__.py,v 1.4 2002-09-10 01:07:06 richard Exp $
+#$Id: __init__.py,v 1.5 2002-09-11 07:10:08 richard Exp $
def init(db):
''' execute the init functions of all the modules in this directory
sys.path.insert(0, this_dir)
for file in os.listdir(this_dir):
file, ext = os.path.splitext(file)
- if file == '__init__': continue
- if ext in ('.py', '.pyc'):
+ if file == '__init__':
+ continue
+ if ext in '.py':
module = __import__(file)
module.init(db)
finally: