| Tor Norbye | 3a2425a | 2013-11-04 10:16:08 -0800 | [diff] [blame^] | 1 | def 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)) | ||||