mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
fix typo
This commit is contained in:
parent
e381911ae1
commit
10b48ea3f7
4 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ from lilaclib import *
|
|||
|
||||
|
||||
def apply_patch(filename, patch,reverse=False):
|
||||
rev="-R" if revert else ""
|
||||
rev="-R" if reverse else ""
|
||||
patch_proc = subprocess.Popen(
|
||||
["patch", "-p1", rev, filename], stdin=subprocess.PIPE, text=True)
|
||||
patch_proc.communicate(patch)
|
||||
|
|
|
@ -3,7 +3,7 @@ from lilaclib import *
|
|||
|
||||
|
||||
def apply_patch(filename, patch, reverse=False):
|
||||
rev = "-R" if revert else ""
|
||||
rev = "-R" if reverse else ""
|
||||
patch_proc = subprocess.Popen(
|
||||
["patch", "-p1", rev, filename], stdin=subprocess.PIPE, text=True)
|
||||
patch_proc.communicate(patch)
|
||||
|
|
|
@ -3,7 +3,7 @@ from lilaclib import *
|
|||
|
||||
|
||||
def apply_patch(filename, patch, reverse=False):
|
||||
rev = "-R" if revert else ""
|
||||
rev = "-R" if reverse else ""
|
||||
patch_proc = subprocess.Popen(
|
||||
["patch", "-p1", rev, filename], stdin=subprocess.PIPE, text=True)
|
||||
patch_proc.communicate(patch)
|
||||
|
|
|
@ -3,7 +3,7 @@ from lilaclib import *
|
|||
|
||||
|
||||
def apply_patch(filename, patch, reverse=False):
|
||||
rev = "-R" if revert else ""
|
||||
rev = "-R" if reverse else ""
|
||||
patch_proc = subprocess.Popen(
|
||||
["patch", "-p1", rev, filename], stdin=subprocess.PIPE, text=True)
|
||||
patch_proc.communicate(patch)
|
||||
|
|
Loading…
Add table
Reference in a new issue