Commit ec74fe23 authored by Albertas Agejevas's avatar Albertas Agejevas

None is not comparable to bytes in Py3.

parent a00d35fe
......@@ -347,7 +347,7 @@ class Connection(ExportImport, object):
try:
if self._txn_time is None:
self._txn_time = tid
elif (tid < self._txn_time) and (tid is not None):
elif (tid is not None) and (tid < self._txn_time):
raise AssertionError("invalidations out of order, %r < %r"
% (tid, self._txn_time))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment