- path = os.path.join(base, 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)
-
+ path = os.path.join(base, 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)
+