[pitivi] check: Avoid having two docstring sections in the same file
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] check: Avoid having two docstring sections in the same file
- Date: Thu, 7 Apr 2016 12:40:35 +0000 (UTC)
commit ed2f2f2895be6eb54a31298e6aed4e0152067927
Author: Thibault Saunier <tsaunier gnome org>
Date: Wed Apr 6 16:49:58 2016 +0200
check: Avoid having two docstring sections in the same file
pitivi/check.py | 32 ++++++++++++++------------------
1 files changed, 14 insertions(+), 18 deletions(-)
---
diff --git a/pitivi/check.py b/pitivi/check.py
index 8503e09..b585255 100644
--- a/pitivi/check.py
+++ b/pitivi/check.py
@@ -19,7 +19,6 @@
# License along with this program; if not, write to the
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301, USA.
-
"""
This file is run by bin/pitivi on startup. Its purpose is to ensure that all
the important dependencies for running the pitivi UI can be imported and satisfy
@@ -32,10 +31,8 @@ when called from application.py instead of bin/pitivi, if it has an impact.
Package maintainers should look at the bottom section of this file.
"""
-
import os
import sys
-
from gettext import gettext as _
missing_soft_deps = {}
@@ -356,21 +353,20 @@ def initialize_modules():
exit(1)
-"""
---------------------------------------------------------------------------------
-Package maintainers, this is where you can see the list of requirements.
-
-Those are either:
-- Classic Python modules
-- Dynamic Python bindings through GObject introspection ("GIDependency")
-- Something else. For example, there are various GStreamer plugins/elements
- for which there is no clear detection method other than trying to instantiate;
- there are special snowflakes like gst-python that are GI bindings "overrides"
- for which there is no way to detect the version either.
-
-Some of our dependencies have version numbers requirements; for those without
-a specific version requirement, they have the "None" value.
-"""
+# Package maintainers, this is where you can see the list of requirements.
+# -----------------------------------------------------------------------------
+#
+# Those are either:
+# - Classic Python modules
+# - Dynamic Python bindings through GObject introspection ("GIDependency")
+# - Something else. For example, there are various GStreamer plugins/elements
+# for which there is no clear detection method other than trying to instantiate;
+# there are special snowflakes like gst-python that are GI bindings "overrides"
+# for which there is no way to detect the version either.
+#
+# Some of our dependencies have version numbers requirements; for those without
+# a specific version requirement, they have the "None" value.
+
GST_API_VERSION = "1.0"
GTK_API_VERSION = "3.0"
GLIB_API_VERSION = "2.0"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]