Skip to content

Commit d5fba61

Browse files
committed
[DATALAD RUNCMD] rename close to typo infp var
=== Do not change lines below === { "chain": [], "cmd": "git-sedi infp cfg_file_p", "dsid": "b02e63c2-62c1-11e9-82b0-52540040489c", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [ "scripts/freeze_versions" ], "pwd": "." } ^^^ Do not change lines above ^^^
1 parent cf2d2a5 commit d5fba61

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/freeze_versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ for arg in args.images:
233233
with os.fdopen(fd, "w", encoding="utf-8") as outfp:
234234
frozen_entries = 0
235235
cfg_file = topd / ".datalad" / "config"
236-
with (cfg_file).open(encoding="utf-8") as infp:
237-
for line in infp:
236+
with (cfg_file).open(encoding="utf-8") as cfg_file_p:
237+
for line in cfg_file_p:
238238
line = line.rstrip("\n")
239239
new_line = re.sub(
240240
rf"{re.escape(str(imgpath))}(?:[ \t].*)*$",

0 commit comments

Comments
 (0)