1. Matthew Schinckel
  2. werkzeug-main


mitsuhiko  committed 7042db2

Fixed broken import in deprecation warning code.

  • Participants
  • Parent commits 1497dfd
  • Branches default

Comments (0)

Files changed (1)

File werkzeug/wrappers.py

View file
  • Ignore whitespace
         charset = kwargs.pop('charset', cls.charset)
         environ = kwargs.pop('environ', None)
         if environ is not None:
-            from warnings import DeprecationWarning, warn
+            from warnings import warn
             warn(DeprecationWarning('The environ parameter to from_values'
                                     ' is now called environ_overrides for'
                                     ' consistency with EnvironBuilder'),