[PATCH] Use Python 2 for spice_codegen.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Spice fails to compile on Arch Linux because spice_codegen.py uses "python"
rather than "python2".  PEP-394 suggests that the existence of "python2" is
something that we can rely on, although I am somewhat concerned about older
systems.

Signed-off-by: Alexander Wauck <awauck@xxxxxxxxxxxxxxx>
---
 spice_codegen.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spice_codegen.py b/spice_codegen.py
index c8376cc..9d5ff05 100755
--- a/spice_codegen.py
+++ b/spice_codegen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 import os
 import sys
-- 
2.3.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]