Diff of /Lib/tarfile.py [11ad65] .. [a015a2]  Maximize  Restore

Switch to side-by-side view

--- a/Lib/tarfile.py
+++ b/Lib/tarfile.py
@@ -1588,7 +1588,8 @@
         return self.format == USTAR_FORMAT
     def _setposix(self, value):
         import warnings
-        warnings.warn("use the format attribute instead", DeprecationWarning)
+        warnings.warn("use the format attribute instead", DeprecationWarning,
+                      2)
         if value:
             self.format = USTAR_FORMAT
         else: