247
235
def _run_patch(self, patches, strip=0, reverse=False, dry_run=False):
248
run_patch(self.base, patches, strip, reverse, dry_run)
236
args = ['patch', '-d', self.base, '-s', '-p%d' % strip, '-f']
245
process = subprocess.Popen(args, stdin=subprocess.PIPE, stdout=stdout,
250
258
def _check_upgrade(self):
251
259
if len(self._list_old_shelves()) > 0: