File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 9
9
import os
10
10
import os .path
11
11
import sys
12
- import shutil
13
12
14
13
15
14
def main ():
@@ -21,7 +20,7 @@ def main():
21
20
for linei , line in enumerate (f ):
22
21
parts = line .strip ().split (":" )
23
22
if len (parts ) != 2 :
24
- print "Error parsing line {0}" .format (linei )
23
+ print ( "Error parsing line {0}" .format (linei ) )
25
24
sys .exit (1 )
26
25
releases .append ((parts [0 ], parts [1 ]))
27
26
@@ -54,7 +53,7 @@ def main():
54
53
55
54
# If we didn't find a match in the whole file, we need to stop and fix something.
56
55
if contexti < len (context ):
57
- print "Couldn't find where to insert Docs for other versions in {0}" .format (releasedir )
56
+ print ( "Couldn't find where to insert Docs for other versions in {0}" .format (releasedir ) )
58
57
sys .exit (0 )
59
58
60
59
# Do we want to delete anything? Is there a table there already?
You can’t perform that action at this time.
0 commit comments