~allenap/maas/migrations-without-application-code

Viewing all changes in revision 4668.

  • Committer: MAAS Lander
  • Author(s): Gavin Panella
  • Date: 2016-02-17 11:21:57 UTC
  • mfrom: (4657.3.1 fix-fascist)
  • Revision ID: maas_lander-20160217112157-2otlgpw2needxwvd
[r=blake-rouse][bug=][author=allenap] Fix maasfascist by searching for the nearest frame with a module.

Previously maasfascist only checked the caller's frame, but it appears that in Python 3 the caller's frame is no longer the importing module.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: