diff options
author | theuni <theuni@svn> | 2010-10-20 14:49:35 +0000 |
---|---|---|
committer | theuni <theuni@svn> | 2010-10-20 14:49:35 +0000 |
commit | a32045b6c4e042cfb96299981a68419e09579323 (patch) | |
tree | e5aca3b79a257192bc134dbe6cc7ce2ac807c8db /tools/Linux | |
parent | 58ee03db8cbc7e80f3f1cea05acab2223b7d33ec (diff) |
Python 3 forces print to be a function. It was supported in older versions but not enforced. Support both. Arch Linux was hitting this.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34877 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/Linux')
-rwxr-xr-x | tools/Linux/FEH.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/Linux/FEH.py b/tools/Linux/FEH.py index c4c227b74a..f01e45f161 100755 --- a/tools/Linux/FEH.py +++ b/tools/Linux/FEH.py @@ -32,7 +32,10 @@ def error(errorLine): elif Output == "--error-output=SDL": createSDL(errorLine) else: - print errorLine + try: + print(errorLine) + except: + print errorLine exit(1) |