Skip to content
Snippets Groups Projects
Commit 2419ffb2 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

bugfix release

parent 5e957e30
No related branches found
No related tags found
No related merge requests found
# v2.15.3 # v2.15.3
**bugfix release**
* fixed import problem
__version__ = '2.15.3a1' __version__ = '2.15.3'
...@@ -5,7 +5,6 @@ import typing as tp ...@@ -5,7 +5,6 @@ import typing as tp
from satella.exceptions import ConfigurationValidationError from satella.exceptions import ConfigurationValidationError
from .base import Descriptor, ConfigDictValue from .base import Descriptor, ConfigDictValue
from .registry import register_custom_descriptor from .registry import register_custom_descriptor
from ...files import read_in_file
@staticmethod @staticmethod
...@@ -83,7 +82,8 @@ class FileObject: ...@@ -83,7 +82,8 @@ class FileObject:
:return: file contents :return: file contents
""" """
return read_in_file(self.path) with open(self.path, 'rb') as f_in:
return f_in.read()
def open(self, mode: str): def open(self, mode: str):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment