Skip to content

Commit 1fd6d7a

Browse files
committed
fix: use self
1 parent 3f952bd commit 1fd6d7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/strategy/patching.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def __enter__(self):
4747
with open(self.lp_orig) as source:
4848
with open(self.lp, "w") as dest:
4949
for line in source.readlines():
50-
if line == ORIG_LINE:
51-
line = PATCH_LINE
50+
if line == self.ORIG_LINE:
51+
line = self.PATCH_LINE
5252
dest.write(line)
5353
return self
5454

0 commit comments

Comments
 (0)