def _create_patch_repo(self, path): os.mkdir(path) patch_repo = plypatch.PatchRepo(path, quiet=self.QUIET, supress_warnings=self.SUPRESS_WARNINGS) patch_repo.initialize() return patch_repo
def do(self, args): """Initialize a new patch-repo""" plypatch.PatchRepo(args.path).initialize()