##// END OF EJS Templates
tests: execute check-config.py without xargs...
FUJIWARA Katsunori -
r27992:8f244b75 default
parent child Browse files
Show More
@@ -105,4 +105,7 b' def main(args):'
105 105 print "undocumented: %s (%s)%s" % (name, ctype, default)
106 106
107 107 if __name__ == "__main__":
108 sys.exit(main(sys.argv[1:]))
108 if len(sys.argv) > 1:
109 sys.exit(main(sys.argv[1:]))
110 else:
111 sys.exit(main([l.rstrip() for l in sys.stdin]))
@@ -5,4 +5,4 b''
5 5 New errors are not allowed. Warnings are strongly discouraged.
6 6
7 7 $ hg files "set:(**.py or **.txt) - tests/**" | sed 's|\\|/|g' |
8 > xargs python contrib/check-config.py
8 > python contrib/check-config.py
General Comments 0
You need to be logged in to leave comments. Login now