diff options
Diffstat (limited to 'utils/internal/fake_includes.py')
-rw-r--r-- | utils/internal/fake_includes.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/utils/internal/fake_includes.py b/utils/internal/fake_includes.py index b55f767..1ce69fa 100644 --- a/utils/internal/fake_includes.py +++ b/utils/internal/fake_includes.py @@ -1,13 +1,13 @@ -import os.path
-
-for cur_path, dirs, files in os.walk('.'):
- if cur_path == '.':
- for f in files:
- if f.endswith('.h'):
- print f
- fo = open(f, 'w')
- fo.write('#include "_fake_defines.h"\n')
- fo.write('#include "_fake_typedefs.h"\n')
- fo.close()
-
-
+import os.path + +for cur_path, dirs, files in os.walk('.'): + if cur_path == '.': + for f in files: + if f.endswith('.h'): + print f + fo = open(f, 'w') + fo.write('#include "_fake_defines.h"\n') + fo.write('#include "_fake_typedefs.h"\n') + fo.close() + + |