Apparently gentree.py uses some python2.7 specific syntax. Fixes:

./gentree.py -h
  File "./gentree.py", line 72
    except OSError, e:
                  ^
SyntaxError: invalid syntax

On distros where /usr/bin/python points to python3.

Signed-off-by: Thomas Pedersen <[email protected]>
---
 gentree.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gentree.py b/gentree.py
index fef2faf..e43f508 100755
--- a/gentree.py
+++ b/gentree.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 #
 # Generate the output tree into a specified directory.
 #
-- 
1.8.3

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to