コード例 #1
0
ファイル: __init__.py プロジェクト: pombredanne/soho
 def _read_metadata_from_file(self, path):
     """Return metadata about the file at the given ``path`` by
     reading from a file named ``<path>.meta.py`` if such a file
     exists.
     """
     return read_file_metadata(path)
コード例 #2
0
ファイル: test_utils.py プロジェクト: pombredanne/soho
 def _call_fut(self, path):
     from soho.utils import read_file_metadata
     return read_file_metadata(path)