[pitivi] validate: Correct Python version in files run by gst-validate-launcher
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] validate: Correct Python version in files run by gst-validate-launcher
- Date: Wed, 9 Nov 2016 13:13:32 +0000 (UTC)
commit 13b0a02e21c8f2b21a3c37ec5b625f04180ec30b
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Tue Oct 25 10:18:59 2016 +0200
validate: Correct Python version in files run by gst-validate-launcher
gst-validate-launcher is still Python2.
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1424
tests/validate-tests/pitivi.py | 7 ++++---
tests/validate-tests/pitivivalidate.py | 9 +++++----
2 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/tests/validate-tests/pitivi.py b/tests/validate-tests/pitivi.py
index 2609a1a..eaa0282 100644
--- a/tests/validate-tests/pitivi.py
+++ b/tests/validate-tests/pitivi.py
@@ -1,6 +1,7 @@
-# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
-#
-# Copyright (c) 2014,Thibault Saunier <thibault saunier collabora com>
+#!/usr/bin/env python2
+# -*- coding: utf-8 -*-
+# Pitivi video editor
+# Copyright (c) 2014, Thibault Saunier <thibault saunier collabora com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
diff --git a/tests/validate-tests/pitivivalidate.py b/tests/validate-tests/pitivivalidate.py
index 8e22e31..06e38b6 100644
--- a/tests/validate-tests/pitivivalidate.py
+++ b/tests/validate-tests/pitivivalidate.py
@@ -1,6 +1,7 @@
-#!/usr/bin/env python3
-#
-# Copyright (c) 2013,Thibault Saunier <thibault saunier collabora com>
+#!/usr/bin/env python2
+# -*- coding: utf-8 -*-
+# Pitivi video editor
+# Copyright (c) 2013, Thibault Saunier <thibault saunier collabora com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -45,9 +46,9 @@ def quote_uri(uri):
class PitiviTest(GstValidateTest):
+
def __init__(self, classname, options, reporter, scenario,
combination=None):
-
super(PitiviTest, self).__init__(PITIVI_COMMAND, classname, options, reporter,
scenario=None)
self._scenario = scenario
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]