mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 14:51:13 +02:00
style: drop redundant open mode arguments
This commit is contained in:
4 files changed
+7
-7
No files matched your search
@@ -25,7 +25,7 @@ def _read_requirements(filename):
|
||||
base_dir = _find_base_dir()
|
||||
filepath = os.path.join(base_dir, filename)
|
||||
packages = []
|
||||
with open(filepath, "r") as f:
|
||||
with open(filepath) as f:
|
||||
for line in f:
|
||||
line = line.strip()
|
||||
if not line or line.startswith("#"):
|
||||
|
||||
Reference in new issue
Block a user