Пример #1
0
 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
Пример #2
0
 def do(self, args):
     """Initialize a new patch-repo"""
     plypatch.PatchRepo(args.path).initialize()