Only warn once when the deprecation warning wrapper is called multiple times #2641

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@ghost

ghost commented Jan 30, 2012

In response to 5403a8c#commitcomment-913323

If a reference to the deprecation warning wrapper is kept and used it warns every time. This adds a flag so that the previous behavior of only ever warning once is followed in all circumstances.

Quick patch that makes the above comply with the 80 column style guideline: e4af3e9

Owner

bnoordhuis commented Jan 30, 2012

Thanks, applied in 52bd0f9.

bnoordhuis closed this Jan 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment