diff --git a/offlineimap/localeval.py b/offlineimap/localeval.py index 3b137e03..286657fc 100644 --- a/offlineimap/localeval.py +++ b/offlineimap/localeval.py @@ -26,6 +26,8 @@ def __init__(self, path=None): self.namespace = {} if path is not None: + import importlib.machinery + # FIXME: limit opening files owned by current user with rights set # to fixed mode 644. importlib.machinery.SOURCE_SUFFIXES.append('') # empty string to allow any file