Skip to main content

Source code Changes To

pkg-gate / src / tests / api / t_catalog.py

From revision 2955 to 2958:

diff -r 796cde775790 -r 868e07939116 src/tests/api/t_catalog.py
--- a/src/tests/api/t_catalog.py	Fri Sep 27 10:19:27 2013 +1200
+++ b/src/tests/api/t_catalog.py	Fri Sep 27 11:38:34 2013 -0700
@@ -589,8 +589,8 @@
                         rval = cmp(apub, bpub)
                         if rval != 0:
                                 return rval
-                        aver = version.Version(aver, "5.11")
-                        bver = version.Version(bver, "5.11")
+                        aver = version.Version(aver)
+                        bver = version.Version(bver)
                         return cmp(aver, bver) * -1
 
                 def tuple_entry_order(a, b):
@@ -602,8 +602,8 @@
                         rval = cmp(apub, bpub)
                         if rval != 0:
                                 return rval
-                        aver = version.Version(aver, "5.11")
-                        bver = version.Version(bver, "5.11")
+                        aver = version.Version(aver)
+                        bver = version.Version(bver)
                         return cmp(aver, bver) * -1
 
                 # test fmris()

 
 
Close
loading
Please Confirm
Close