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