##// END OF EJS Templates
Merge with i18n
Merge with i18n

File last commit:

r10282:08a0f04b default
r10308:4aa619c4 merge 1.4.3 stable
Show More
readlink.py
12 lines | 231 B | text/x-python | PythonLexer
#!/usr/bin/env python
import errno, os, sys
for f in sys.argv[1:]:
try:
print f, '->', os.readlink(f)
except OSError, err:
if err.errno != errno.EINVAL: raise
print f, 'not a symlink'
sys.exit(0)