mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
modules g*: use f-strings (#10958)
* modules g*: use f-strings * add changelog frag * remove extraneous to_native()
This commit is contained in:
parent
a3987c9844
commit
b67e7c83cf
31 changed files with 250 additions and 245 deletions
|
|
@ -154,7 +154,7 @@ def main():
|
|||
|
||||
def build_args(module, name, path, scope):
|
||||
git_path = module.get_bin_path("git", True)
|
||||
args = [git_path, "config", "--includes", "--null", "--" + scope]
|
||||
args = [git_path, "config", "--includes", "--null", f"--{scope}"]
|
||||
|
||||
if scope == "file":
|
||||
args.append(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue