mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00

The manifest folder reordering into official/ and examples/ hid all of the manifests from that generator. recursive_glob has been introduced in order to be able to find all manifests.
9 lines
264 B
Python
9 lines
264 B
Python
|
|
|
|
# Snatched from: http://stackoverflow.com/a/2186565/339505
|
|
def recursive_glob(path, pattern):
|
|
import fnmatch
|
|
import os
|
|
for path, dirnames, filenames in os.walk(path):
|
|
for filename in fnmatch.filter(filenames, pattern):
|
|
yield os.path.join(path, filename)
|