File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
roundup/templates/classic/detectors Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1515# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717#
18- #$Id: __init__.py,v 1.4 2002-09-10 01: 07:06 richard Exp $
18+ #$Id: __init__.py,v 1.5 2002-09-11 07:10:08 richard Exp $
1919
2020def init (db ):
2121 ''' execute the init functions of all the modules in this directory
@@ -26,8 +26,9 @@ def init(db):
2626 sys .path .insert (0 , this_dir )
2727 for file in os .listdir (this_dir ):
2828 file , ext = os .path .splitext (file )
29- if file == '__init__' : continue
30- if ext in ('.py' , '.pyc' ):
29+ if file == '__init__' :
30+ continue
31+ if ext in '.py' :
3132 module = __import__ (file )
3233 module .init (db )
3334 finally :
You can’t perform that action at this time.
0 commit comments