Skip to content
Myr

Merge branch 'exec' of github.com:ThomasWaldmann/flask into sprint-branch

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Conflicts: flask/config.py

authored by Daniel Neuhäuser · committed by Daniel Neuhäuser · parents 26a9e90, b52b7b1 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/config.py+1 added-1 removed
124 unmodified lines
125 filename = os.path.join(self.root_path, filename)126 d = imp.new_module('config')127 d.__file__ = filename128 try:129 execfile(filename, d.__dict__)129 exec(compile(open(filename).read(), filename, 'exec'), d.__dict__)130 except IOError as e:131 if silent and e.errno in (errno.ENOENT, errno.EISDIR):132 return False133 e.strerror = 'Unable to load configuration file (%s)' % e.strerror
35 unmodified lines