summaryrefslogtreecommitdiffstats
path: root/pym/portage/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/proxy')
-rw-r--r--pym/portage/proxy/objectproxy.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/pym/portage/proxy/objectproxy.py b/pym/portage/proxy/objectproxy.py
index d392beb60..3e5191671 100644
--- a/pym/portage/proxy/objectproxy.py
+++ b/pym/portage/proxy/objectproxy.py
@@ -61,6 +61,18 @@ class ObjectProxy(object):
def __hash__(self):
return hash(object.__getattribute__(self, '_get_target')())
+ def __ge__(self, other):
+ return object.__getattribute__(self, '_get_target')() >= other
+
+ def __gt__(self, other):
+ return object.__getattribute__(self, '_get_target')() > other
+
+ def __le__(self, other):
+ return object.__getattribute__(self, '_get_target')() <= other
+
+ def __lt__(self, other):
+ return object.__getattribute__(self, '_get_target')() < other
+
def __eq__(self, other):
return object.__getattribute__(self, '_get_target')() == other