Skip to main content

Source code Changes To

pkg-gate / src / modules / mediator.py

From revision 2955 to 2958:

diff -r 796cde775790 -r 868e07939116 src/modules/mediator.py
--- a/src/modules/mediator.py	Fri Sep 27 10:19:27 2013 +1200
+++ b/src/modules/mediator.py	Fri Sep 27 11:38:34 2013 -0700
@@ -45,7 +45,7 @@
         error = ""
         if isinstance(value, basestring):
                 try:
-                        version.Version(value, "5.11")
+                        version.Version(value)
                         return True, None
                 except version.VersionError, e:
                         error = str(e)
@@ -78,7 +78,7 @@
 
         if impl_ver:
                 try:
-                        impl_ver = version.Version(impl_ver,"5.11")
+                        impl_ver = version.Version(impl_ver)
                 except version.VersionError:
                         # If part of implementation can't be parsed, then
                         # return nothing at all.
@@ -101,7 +101,7 @@
 
                 if iver or (iver == "" and not allow_empty_version):
                         try:
-                                version.Version(iver, "5.11")
+                                version.Version(iver)
                         except version.VersionError, e:
                                 error = str(e)
 

 
 
Close
loading
Please Confirm
Close