paved.util¶
paved.util – helper functions.
-
paved.util.
rmFilePatterns
(*patterns, **kwargs)[source]¶ Remove all files under the given path with the given patterns.
-
paved.util.
rmDirPatterns
(*patterns, **kwargs)[source]¶ Remove all directories under the current path with the given patterns.
-
paved.util.
shv
(command, capture=False, ignore_error=False, cwd=None)[source]¶ Run the given command inside the virtual environment, if available:
-
paved.util.
update
(dst, src)[source]¶ Recursively update the destination dict-like object with the source dict-like object.
Useful for merging options and Bunches together!
Based on: http://code.activestate.com/recipes/499335-recursively-update-a-dictionary-without-hitting-py/#c1