mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 03:14:21 +00:00
dead code
This commit is contained in:
parent
86a9ce5793
commit
f7f3c54f93
@ -226,14 +226,6 @@ class _Config(object):
|
||||
def validate(self, valid_config_sections):
|
||||
configutil.validate_config(self._config_fname, self.config, valid_config_sections)
|
||||
|
||||
def read_config(self):
|
||||
|
||||
try:
|
||||
self.config = configutil.get_config(self.config_fname)
|
||||
except EnvironmentError:
|
||||
if os.path.exists(self.config_fname):
|
||||
raise
|
||||
|
||||
def write_config_file(self, name, value, mode="w"):
|
||||
"""
|
||||
writes the given 'value' into a file called 'name' in the config
|
||||
|
Loading…
x
Reference in New Issue
Block a user