We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3e531a commit c002c63Copy full SHA for c002c63
plugins/strategy/patching.py
@@ -28,7 +28,7 @@ def loaders_path():
28
29
class patch_version(ContextDecorator):
30
ORIG_LINE = "ANSIBLE_VERSION_MAX = (2, 13)\n"
31
- PATCH_LINE = "ANSIBLE_VERSION_MAX = (2, 15)\n"
+ PATCH_LINE = "ANSIBLE_VERSION_MAX = (2, 16)\n"
32
33
def __enter__(self):
34
self.patched = False
@@ -47,8 +47,8 @@ def __enter__(self):
47
with open(self.lp_orig) as source:
48
with open(self.lp, "w") as dest:
49
for line in source.readlines():
50
- if line == "ANSIBLE_VERSION_MAX = (2, 13)\n":
51
- line = "ANSIBLE_VERSION_MAX = (2, 15)\n"
+ if line == ORIG_LINE:
+ line = PATCH_LINE
52
dest.write(line)
53
return self
54
0 commit comments