[pitivi] check: Make the version_required_string parameter optional



commit 15281542b2f4d78f50b309b8080cf75f0a6e9331
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Wed Feb 4 23:44:10 2015 +0100

    check: Make the version_required_string parameter optional

 pitivi/check.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/check.py b/pitivi/check.py
index ea0d692..0a29639 100644
--- a/pitivi/check.py
+++ b/pitivi/check.py
@@ -59,7 +59,7 @@ class Dependency(object):
       explain the purpose of the missing component.
     """
 
-    def __init__(self, modulename, version_required_string, additional_message=None):
+    def __init__(self, modulename, version_required_string=None, additional_message=None):
         self.version_required_string = version_required_string
         self.modulename = modulename
         self.satisfied = False
@@ -282,10 +282,10 @@ HARD_DEPENDENCIES = [CairoDependency("1.10.0"),
                      GstDependency("Gst", "1.4.0"),
                      GstDependency("GES", "1.5.0.0"),
                      GtkDependency("Gtk", "3.10.0"),
-                     ClassicDependency("numpy", None),
-                     GIDependency("Gio", None),
+                     ClassicDependency("numpy"),
+                     GIDependency("Gio"),
                      GstPluginDependency("opengl", "1.4.0"),
-                     ClassicDependency("matplotlib", None),
+                     ClassicDependency("matplotlib"),
                      ]
 
 SOFT_DEPENDENCIES = \


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