summaryrefslogtreecommitdiffstats
path: root/Lib/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/commands.py')
-rw-r--r--Lib/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/commands.py b/Lib/commands.py
index 287aa27..858b3d6 100644
--- a/Lib/commands.py
+++ b/Lib/commands.py
@@ -33,7 +33,7 @@ __all__ = ["getstatusoutput","getoutput","getstatus"]
def getstatus(file):
"""Return output of "ls -ld <file>" in a string."""
import warnings
- warnings.warn("commands.getstatus() is deprecated", DeprecationWarning)
+ warnings.warn("commands.getstatus() is deprecated", DeprecationWarning, 2)
return getoutput('ls -ld' + mkarg(file))