mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-22 12:28:05 +00:00
flake8
This commit is contained in:
parent
b6fbfeee48
commit
32b19fa4d0
@ -65,7 +65,7 @@ def load_grid_manager(config_path, config_location):
|
||||
config_file = config_path.child("config.json").open("r")
|
||||
except IOError:
|
||||
raise ValueError(
|
||||
"'{}' is not a Grid Manager config-directory".format(config)
|
||||
"'{}' is not a Grid Manager config-directory".format(config_path)
|
||||
)
|
||||
with config_file:
|
||||
config = json.load(config_file)
|
||||
|
@ -41,9 +41,7 @@ if PY2:
|
||||
|
||||
import re
|
||||
import time
|
||||
import json
|
||||
import hashlib
|
||||
from datetime import datetime
|
||||
|
||||
# On Python 2 this will be the backport.
|
||||
from configparser import NoSectionError
|
||||
|
Loading…
Reference in New Issue
Block a user