blob: 771f9b06b3ca2be30d3ba2f242dc9247221dab9b [file] [log] [blame]
Tor Norbye3a2425a2013-11-04 10:16:08 -08001def getstatus(file):
2 """Return output of "ls -ld <file>" in a string."""
3 import warnings
4 warnings.warn("commands.getstatus() is deprecated", DeprecationWarning, 2)
5 return getoutput('ls -ld' + mkarg(file))