##// END OF EJS Templates
py3: use multi-line import in test-wireproto.py...
py3: use multi-line import in test-wireproto.py The reason I did it is that I had a later commit that was adding to the list.

File last commit:

r25660:328739ea default
r28860:50d11dd8 default
Show More
readlink.py
13 lines | 245 B | text/x-python | PythonLexer
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 #!/usr/bin/env python
import errno, os, sys
for f in sys.argv[1:]:
try:
print f, '->', os.readlink(f)
Gregory Szorc
global: mass rewrite to use modern exception syntax...
r25660 except OSError as err:
Matt Mackall
many, many trivial check-code fixups
r10282 if err.errno != errno.EINVAL:
raise
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 print f, 'not a symlink'
sys.exit(0)