View | Details | Raw Unified | Return to bug 10374
Collapse All | Expand All

(-)python.req.py.old (-1 / +2 lines)
Lines 118-127 Link Here
118
118
119
        for src in files :
119
        for src in files :
120
            if '.py' == os.path.splitext(os.path.basename(src))[1] :
120
            if '.py' == os.path.splitext(os.path.basename(src))[1] :
121
                try :
121
                try:
122
                    lis = parser.suite(open(src).read().replace("\r\n","\n")).tolist()
122
                    lis = parser.suite(open(src).read().replace("\r\n","\n")).tolist()
123
                except SyntaxError,msg :
123
                except SyntaxError,msg :
124
                    continue
124
                    continue
125
                except MemoryError, msg: continue # invalid python file
125
126
126
                for item in match(lis) :
127
                for item in match(lis) :
127
                    if not item in prov[os.path.dirname(src)] :
128
                    if not item in prov[os.path.dirname(src)] :

Return to bug 10374