windows: Restructure if/else blocks with unnecessary indentation.
[libserialport/gsi.git] / config-header.py
blob583fe27753996b288436fd527d0d013f88ef24e2
1 pattern = str.join('', open("config-pattern").readlines())
2 for line in open("config-fields").readlines():
3 print pattern.format(*line.rstrip("\n").split(","))