summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-07-16 18:35:28 +0200
committerJose <jose@zeroc.com>2019-07-16 18:35:28 +0200
commitf111f72f1cd1925ae76c0b78d849238c5e6dc8a4 (patch)
treef50d9aba6f00a381405899e5ff6c3a04bcfda9bc /python
parentRemove unused class Ice.BatchRequest in Ice for Python (diff)
downloadice-f111f72f1cd1925ae76c0b78d849238c5e6dc8a4.tar.bz2
ice-f111f72f1cd1925ae76c0b78d849238c5e6dc8a4.tar.xz
ice-f111f72f1cd1925ae76c0b78d849238c5e6dc8a4.zip
Minor python fixes
Diffstat (limited to 'python')
-rw-r--r--python/python/Ice/__init__.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/python/python/Ice/__init__.py b/python/python/Ice/__init__.py
index dbb28e2b031..1b64975c43b 100644
--- a/python/python/Ice/__init__.py
+++ b/python/python/Ice/__init__.py
@@ -521,28 +521,28 @@ class EnumBase(object):
def __lt__(self, other):
if isinstance(other, self.__class__):
- return self._value < other._value;
+ return self._value < other._value
elif other == None:
return False
return NotImplemented
def __le__(self, other):
if isinstance(other, self.__class__):
- return self._value <= other._value;
- elif other == None:
+ return self._value <= other._value
+ elif other is None:
return False
return NotImplemented
def __eq__(self, other):
if isinstance(other, self.__class__):
- return self._value == other._value;
+ return self._value == other._value
elif other == None:
return False
return NotImplemented
def __ne__(self, other):
if isinstance(other, self.__class__):
- return self._value != other._value;
+ return self._value != other._value
elif other == None:
return False
return NotImplemented
@@ -556,7 +556,7 @@ class EnumBase(object):
def __ge__(self, other):
if isinstance(other, self.__class__):
- return self._value >= other._value;
+ return self._value >= other._value
elif other == None:
return False
return NotImplemented
@@ -827,7 +827,7 @@ define the enqueue method.'''
def __init__(self):
pass
- def enqueue(request, queueCount, queueSize):
+ def enqueue(self, request, queueCount, queueSize):
'''Invoked when a request is batched.'''
pass