configproviders: pass filemode when opening volume
This commit is contained in:
parent
0c5400b7d1
commit
6eb26d7998
2 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ class BaseProvider(object):
|
|||
""" Returns whether the file with the given name exists under the config override volume. """
|
||||
raise NotImplementedError
|
||||
|
||||
def get_volume_file(self, filename):
|
||||
def get_volume_file(self, filename, mode='r'):
|
||||
""" Returns a Python file referring to the given name under the config override volume. """
|
||||
raise NotImplementedError
|
||||
|
||||
|
|
Reference in a new issue