Sign in
android
/
platform
/
tools
/
idea
/
c810bbf46e7246636afe1d18947a460cedc5d24d
/
.
/
python
/
testData
/
deprecation
/
functionStub.py
blob: 771f9b06b3ca2be30d3ba2f242dc9247221dab9b [
file
] [
log
] [
blame
]
def
getstatus
(
file
):
"""Return output of "ls -ld <file>" in a string."""
import
warnings
warnings
.
warn
(
"commands.getstatus() is deprecated"
,
DeprecationWarning
,
2
)
return
getoutput
(
'ls -ld'
+
mkarg
(
file
))