Skip to content

Commit e7fcb90

Browse files
committed
YAML transformation: require Python 3
1 parent d05895b commit e7fcb90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/transform.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
#!/usr/bin/python3
2+
# -*- coding: utf-8 -*-
13
import sys
24
import yaml
35
import os
46

57

68
filename = sys.argv[1]
79

8-
stream = file(filename, 'r')
10+
stream = open(filename, 'r')
911
data = yaml.load(stream)
1012

1113
# Name extrahieren

0 commit comments

Comments
 (0)