diff --git a/contribManager.py b/contribManager.py index aa4fc26..18e87a0 100755 --- a/contribManager.py +++ b/contribManager.py @@ -1,10 +1,8 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 """The contrib manager is used to help control the contrib scripts that are shipped with overviewer in Windows packages.""" -from __future__ import print_function - import ast import os.path import sys @@ -79,4 +77,4 @@ if not os.path.exists(torun): print("Script '%s' is missing!" % script, file=sys.stderr) sys.exit(1) -execfile(torun) +exec(compile(open(torun, "rb").read(), torun, 'exec'))