Diff of /check_opimport.py [6198a7] .. [c0ad41]  Maximize  Restore

  Switch to unified view

a/check_opimport.py b/check_opimport.py
...
...
34
output_dir = './phe-temp'
34
output_dir = './phe-temp'
35
35
36
import sys
36
import sys
37
import os
37
import os
38
import popen2
38
import popen2
39
40
# in case psyco jit is available, if it's not install it or take a cup of tea
41
# whilst the script run.
42
try:
43
    import psyco
44
    psyco.full()
45
except ImportError:
46
    pass
39
47
40
def generate_filename(top_dir):
48
def generate_filename(top_dir):
41
    for root, dirs, files in os.walk(top_dir):
49
    for root, dirs, files in os.walk(top_dir):
42
        for f in files:
50
        for f in files:
43
            yield (root, f)
51
            yield (root, f)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks