[FIX] orm: iteration on browse_null object lasts forever

This commit is contained in:
Yuriy A. Apollov
2016-01-26 17:34:39 +01:00
committed by Raphael Collet
parent 152d9de6cf
commit 098c084eae
+3
View File
@@ -289,6 +289,9 @@ class browse_null(object):
def __unicode__(self):
return u''
def __iter__(self):
raise NotImplementedError("Iteration is not allowed on browse_null")
#
# TODO: execute an object method on browse_record_list