[pitivi] python: explicitly use python2



commit 239860b0d79fbde7fb99c69c90137acd6b4f0105
Author: Lubosz Sarnecki <lubosz gmail com>
Date:   Tue Apr 9 20:58:40 2013 +0200

    python: explicitly use python2

 docs/makeChangelog.py                              |    2 +-
 pitivi/timeline/__init__.py                        |    2 +-
 pitivi/undo/effect.py                              |    2 +-
 pitivi/utils/pipeline.py                           |    2 +-
 pitivi/utils/signal.py                             |    2 +-
 pre-commit.hook                                    |    2 +-
 tests/dogtail_scripts/helper_functions.py          |    2 +-
 tests/dogtail_scripts/test_base.py                 |    2 +-
 tests/dogtail_scripts/test_clipproperties.py       |    2 +-
 .../dogtail_scripts/test_dialogs_clipmediaprops.py |    2 +-
 tests/dogtail_scripts/test_dialogs_prefs.py        |    2 +-
 .../dogtail_scripts/test_dialogs_startupwizard.py  |    2 +-
 tests/dogtail_scripts/test_effects.py              |    2 +-
 tests/dogtail_scripts/test_medialibrary.py         |    2 +-
 tests/dogtail_scripts/test_project.py              |    2 +-
 tests/dogtail_scripts/test_timeline.py             |    2 +-
 tests/test_utils.py                                |    2 +-
 win32/setup.py                                     |    2 +-
 18 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/docs/makeChangelog.py b/docs/makeChangelog.py
index c736f35..896fafc 100755
--- a/docs/makeChangelog.py
+++ b/docs/makeChangelog.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 import sys
 import subprocess
diff --git a/pitivi/timeline/__init__.py b/pitivi/timeline/__init__.py
index 7c823b7..366c6d7 100644
--- a/pitivi/timeline/__init__.py
+++ b/pitivi/timeline/__init__.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 #       __init__.py
 #
diff --git a/pitivi/undo/effect.py b/pitivi/undo/effect.py
index 2f1a4f4..31f388e 100644
--- a/pitivi/undo/effect.py
+++ b/pitivi/undo/effect.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 #       effect.py
 #
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index 1cab100..ad4b50a 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 #       pipeline.py
 #
diff --git a/pitivi/utils/signal.py b/pitivi/utils/signal.py
index cc95533..0e2f2bf 100644
--- a/pitivi/utils/signal.py
+++ b/pitivi/utils/signal.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 #       signal.py
 #
diff --git a/pre-commit.hook b/pre-commit.hook
index 986a35e..d95ffe5 100755
--- a/pre-commit.hook
+++ b/pre-commit.hook
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 from __future__ import with_statement
 import os
 import shutil
diff --git a/tests/dogtail_scripts/helper_functions.py b/tests/dogtail_scripts/helper_functions.py
index c3647f4..d6c7184 100644
--- a/tests/dogtail_scripts/helper_functions.py
+++ b/tests/dogtail_scripts/helper_functions.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # -*- coding: utf-8 -*-
 import unittest
 import os
diff --git a/tests/dogtail_scripts/test_base.py b/tests/dogtail_scripts/test_base.py
index 38e35a3..5f4993f 100644
--- a/tests/dogtail_scripts/test_base.py
+++ b/tests/dogtail_scripts/test_base.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # -*- coding: utf-8 -*-
 import unittest
 import os
diff --git a/tests/dogtail_scripts/test_clipproperties.py b/tests/dogtail_scripts/test_clipproperties.py
index fb37f69..f787bfe 100644
--- a/tests/dogtail_scripts/test_clipproperties.py
+++ b/tests/dogtail_scripts/test_clipproperties.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 from helper_functions import HelpFunc
 from dogtail.predicate import GenericPredicate
 import dogtail.rawinput
diff --git a/tests/dogtail_scripts/test_dialogs_clipmediaprops.py 
b/tests/dogtail_scripts/test_dialogs_clipmediaprops.py
index 379206c..223d85e 100644
--- a/tests/dogtail_scripts/test_dialogs_clipmediaprops.py
+++ b/tests/dogtail_scripts/test_dialogs_clipmediaprops.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 from helper_functions import HelpFunc
 from dogtail.tree import SearchError
 from dogtail.predicate import GenericPredicate, IsATextEntryNamed
diff --git a/tests/dogtail_scripts/test_dialogs_prefs.py b/tests/dogtail_scripts/test_dialogs_prefs.py
index 8af6438..db78373 100644
--- a/tests/dogtail_scripts/test_dialogs_prefs.py
+++ b/tests/dogtail_scripts/test_dialogs_prefs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 from helper_functions import HelpFunc
 from dogtail.tree import SearchError
 import dogtail.rawinput
diff --git a/tests/dogtail_scripts/test_dialogs_startupwizard.py 
b/tests/dogtail_scripts/test_dialogs_startupwizard.py
index d96ba12..4fde16a 100644
--- a/tests/dogtail_scripts/test_dialogs_startupwizard.py
+++ b/tests/dogtail_scripts/test_dialogs_startupwizard.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 from helper_functions import HelpFunc
 from time import time, sleep
 
diff --git a/tests/dogtail_scripts/test_effects.py b/tests/dogtail_scripts/test_effects.py
index ab57f5a..9c0e982 100644
--- a/tests/dogtail_scripts/test_effects.py
+++ b/tests/dogtail_scripts/test_effects.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 from helper_functions import HelpFunc
 import dogtail.rawinput
 
diff --git a/tests/dogtail_scripts/test_medialibrary.py b/tests/dogtail_scripts/test_medialibrary.py
index b546db7..da89165 100644
--- a/tests/dogtail_scripts/test_medialibrary.py
+++ b/tests/dogtail_scripts/test_medialibrary.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 from helper_functions import HelpFunc
 from time import sleep
 
diff --git a/tests/dogtail_scripts/test_project.py b/tests/dogtail_scripts/test_project.py
index a837d21..0f9109b 100644
--- a/tests/dogtail_scripts/test_project.py
+++ b/tests/dogtail_scripts/test_project.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 from helper_functions import HelpFunc
 from dogtail.predicate import IsATextEntryNamed, GenericPredicate
 from time import time, sleep
diff --git a/tests/dogtail_scripts/test_timeline.py b/tests/dogtail_scripts/test_timeline.py
index a4677a4..242532d 100644
--- a/tests/dogtail_scripts/test_timeline.py
+++ b/tests/dogtail_scripts/test_timeline.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 from helper_functions import HelpFunc
 from dogtail.predicate import GenericPredicate
 from dogtail.tree import SearchError
diff --git a/tests/test_utils.py b/tests/test_utils.py
index 52608cf..58a4c55 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
 # PiTiVi , Non-linear video editor
 #
 #       test_utils.py
diff --git a/win32/setup.py b/win32/setup.py
index 4db30e5..8f54f42 100644
--- a/win32/setup.py
+++ b/win32/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # PiTiVi , Non-linear video editor
 #
 # Copyright (c) 2009, Andoni Morales Alastruey <ylatuya gmail com>


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