SHA256
1
0
forked from pool/rpmlint
rpmlint/syntax-validator.py

11 lines
169 B
Python

#!/usr/bin/python
# vim:sw=4:et
import sys
for filename in sys.argv[1:]:
try:
compile(open(filename).read(), filename, 'exec')
except:
exit(1)