Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGleave committed Jul 11, 2019
1 parent 449e1da commit 3c5fc9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sacred/config/custom_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ def _readonly(self, *args, **kwargs):
filter_traceback='always'
)


class ReadOnlyDict(collections.Mapping, ReadOnlyContainer):
"""
A read-only variant of a `dict`
Expand Down Expand Up @@ -278,7 +279,7 @@ class ReadOnlyDict(collections.Mapping, ReadOnlyContainer):
def __init__(self, *args, **kwargs):
# Python 2.7 compatibility
self.message = kwargs.pop('message', None) or \
'This ReadOnlyDict is read-only!'
'This ReadOnlyDict is read-only!'

# Call dict init
self.container = dict(*args, **kwargs)
Expand Down

0 comments on commit 3c5fc9f

Please sign in to comment.