[jhbuild] Refer to python2 in shebang lines (PEP 394)



commit 4fc5e0ef8907b396175820f83fe26f5e4dd724df
Author: Frédéric Péters <fpeters 0d be>
Date:   Fri Jul 25 13:57:25 2014 +0200

    Refer to python2 in shebang lines (PEP 394)

 scripts/changecvsroot.py |    2 +-
 scripts/hg-update.py     |    2 +-
 scripts/jhbuild.in       |    2 +-
 tests/distutils/hello    |    2 +-
 tests/tests.py           |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/scripts/changecvsroot.py b/scripts/changecvsroot.py
index a11af46..0198c3b 100755
--- a/scripts/changecvsroot.py
+++ b/scripts/changecvsroot.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # jhbuild - a tool to ease building collections of source packages
 # Copyright (C) 2001-2006  James Henstridge
 #
diff --git a/scripts/hg-update.py b/scripts/hg-update.py
index 4b7d40d..cfe5b70 100755
--- a/scripts/hg-update.py
+++ b/scripts/hg-update.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
 #
 # hg-update - pull and update a mercurial repository
 #
diff --git a/scripts/jhbuild.in b/scripts/jhbuild.in
index aee6b73..fc2489f 100644
--- a/scripts/jhbuild.in
+++ b/scripts/jhbuild.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # -*- coding: utf-8 -*-
 
 import sys
diff --git a/tests/distutils/hello b/tests/distutils/hello
index 338cf78..dfa69cd 100644
--- a/tests/distutils/hello
+++ b/tests/distutils/hello
@@ -1,3 +1,3 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 print "Hello world (distutils)"
diff --git a/tests/tests.py b/tests/tests.py
index 6718c70..7410f7e 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
 # jhbuild - a tool to ease building collections of source packages
 # Copyright (C) 2001-2006  James Henstridge
 # Copyright (C) 2007-2008  Frederic Peters


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