()
| 138 | |
| 139 | |
| 140 | def main(): |
| 141 | if len(sys.argv) > 1: |
| 142 | data = open(sys.argv[1]).read().splitlines() |
| 143 | else: |
| 144 | data = sys.stdin.read().splitlines() |
| 145 | # Split up the double braces. |
| 146 | lines = split_double_braces(data) |
| 147 | |
| 148 | # Indent and print the output. |
| 149 | prettyprint_input(lines) |
| 150 | return 0 |
| 151 | |
| 152 | |
| 153 | if __name__ == "__main__": |
no test coverage detected
searching dependent graphs…