コード例 #1
0
            def __init__(self, *a, **kw):
                Bundle.__init__(self, *a, **kw)
                self.env = assets_env

                self.dbg = kw.get('debug', None)

                # Kind of hacky, but gives us access to the last Bundle
                # instance used by the extension.
                test_instance.the_bundle = self
コード例 #2
0
ファイル: test_bundle.py プロジェクト: thatguystone/webassets
 def __init__(self, *a, **kw):
     Bundle.__init__(self, *a, **kw)
     self.env = env
コード例 #3
0
 def __init__(self, *a, **kw):
     Bundle.__init__(self, *a, **kw)
     self.env = env