commit | 8044e5bbd46b2ccd4e56fb2fb5424abdf212095c | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Tue Mar 13 21:32:01 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Tue Mar 13 21:32:01 2007 +0000 |
tree | f1feb74fefc9439f5bef3d1d44b95b815e33440a | |
parent | 8e84c65660dce5627c095f40cad07e90cb73a226 [diff] [blame] |
Deprecate commands.getstatus().
diff --git a/Lib/commands.py b/Lib/commands.py index cfbb541..d19aa1a 100644 --- a/Lib/commands.py +++ b/Lib/commands.py
@@ -32,6 +32,8 @@ # def getstatus(file): """Return output of "ls -ld <file>" in a string.""" + import warnings + warnings.warn("commands.getstatus() is deprecated", DeprecationWarning) return getoutput('ls -ld' + mkarg(file))