mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
batch 2 - update Python idiom to 3.7 using pyupgrade (#11342)
* batch 2 - update Python idiom to 3.7 using pyupgrade * Apply suggestions from code review
This commit is contained in:
@@ -14,7 +14,7 @@ from ansible_collections.community.general.plugins.lookup.onepassword import (
|
||||
|
||||
|
||||
def load_file(file):
|
||||
with open((os.path.join(os.path.dirname(__file__), "onepassword_fixtures", file)), "r") as f:
|
||||
with open(os.path.join(os.path.dirname(__file__), "onepassword_fixtures", file)) as f:
|
||||
return json.loads(f.read())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user