diff options
author | Alois Mahdal <amahdal@redhat.com> | 2014-06-19 23:26:45 +0200 |
---|---|---|
committer | Alois Mahdal <amahdal@redhat.com> | 2014-06-20 12:20:05 +0200 |
commit | 40fcb8c32d92f8ee998f17b867b88acad5ad42cb (patch) | |
tree | a3118dd8ae923b8ad35231c5fc2eef667ef0471a | |
parent | 1df3341c948f64744b36d5e803166614d1f75032 (diff) | |
download | openlmi-providers-40fcb8c32d92f8ee998f17b867b88acad5ad42cb.tar.gz openlmi-providers-40fcb8c32d92f8ee998f17b867b88acad5ad42cb.tar.xz openlmi-providers-40fcb8c32d92f8ee998f17b867b88acad5ad42cb.zip |
Fix comparison method
CIMDateTime is apparently able to compare itself
-rw-r--r-- | src/python/lmi/test/ind.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/lmi/test/ind.py b/src/python/lmi/test/ind.py index dc4e900..65e5924 100644 --- a/src/python/lmi/test/ind.py +++ b/src/python/lmi/test/ind.py @@ -208,8 +208,8 @@ class IndicationTestProbe(object): self.kwargs = kwargs def __cmp__(self, other): - a = self.ind.exported_objects()[0]['IndicationTime'].value - b = other.ind.exported_objects()[0]['IndicationTime'].value + a = self.ind.exported_objects()[0]['IndicationTime'] + b = other.ind.exported_objects()[0]['IndicationTime'] return cmp(a, b) def __init__(self): |