Skip to content

Commit

Permalink
few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
florentx committed Apr 12, 2012
1 parent 1a19ddc commit a2eb5ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/flaskext_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def load_module(self, fullname):
except ImportError:
exc_type, exc_value, tb = sys.exc_info()
# since we only establish the entry in sys.modules at the
# very this seems to be redundant, but if recursive imports
# end this seems to be redundant, but if recursive imports
# happen we will call into the move import a second time.
# On the second invocation we still don't have an entry for
# fullname in sys.modules, but we will end up with the same
Expand All @@ -71,7 +71,7 @@ def load_module(self, fullname):

# If it's an important traceback we reraise it, otherwise
# we swallow it and try the next choice. The skipped frame
# is the one from __import__ above which we don't care about
# is the one from __import__ above which we don't care about.
if self.is_important_traceback(realname, tb):
raise exc_type, exc_value, tb.tb_next
continue
Expand Down Expand Up @@ -106,7 +106,7 @@ def is_important_frame(self, important_module, tb):
if module_name == important_module:
return True

# Some python verisons will will clean up modules so early that the
# Some python versions will clean up modules so early that the
# module name at that point is no longer set. Try guessing from
# the filename then.
filename = os.path.abspath(tb.tb_frame.f_code.co_filename)
Expand Down

0 comments on commit a2eb5ef

Please sign in to comment.