diff --git a/offlineimap/localeval.py b/offlineimap/localeval.py index 06adc57..a9494fb 100644 --- a/offlineimap/localeval.py +++ b/offlineimap/localeval.py @@ -31,10 +31,10 @@ class LocalEval: if path is not None: # FIXME: limit opening files owned by current user with rights set # to fixed mode 644. - file = open(path, 'r') + foo = open(path, 'r') module = imp.load_module( '', - file, + foo, path, ('', 'r', imp.PY_SOURCE)) for attr in dir(module):