Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set process in jade filter every setup() #457

Merged
merged 1 commit into from Apr 18, 2016

Conversation

matannoam-zz
Copy link
Contributor

as per https://github.com/miracle2k/webassets/blob/master/src/webassets/filter/__init__.py#L246:

def setup(self):
"""
Note: This may be called multiple times if one filter instance
is used with different asset environment instances.
"""
...

If setup is called multiple times, this change means the Jade Filter object will have the same arguments to run every time.

as per https://github.com/miracle2k/webassets/blob/master/src/webassets/filter/__init__.py#L246:

def setup(self):
...
"Note: This may be called multiple times if one filter instance is used with different asset environment instances."
...

If setup is called multiple times, this change means the Jade Filter object will have the same arguments to run every time.
@miracle2k miracle2k merged commit 1d13b6c into miracle2k:master Apr 18, 2016
miracle2k added a commit that referenced this pull request Apr 18, 2016
@miracle2k
Copy link
Owner

Good catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants