- print path
-
- if not os.path.isdir(path) or is_package(path): continue
-
- for dir, _, files in os.walk(path):
- for file in files:
- yield os.path.relpath(os.path.join(dir, file),base)
-
+ if not os.path.isdir(path) or is_package(path):
+ continue
+
+ for dir, _, files in os.walk(path):
+ for file in files:
+ yield os.path.relpath(os.path.join(dir, file), base)
+