fix bug where generated id wasn't remembered.

This commit is contained in:
Kelvin Sherlock 2020-08-09 00:33:02 -04:00
parent 1e77651b0c
commit 15a232972e

View File

@ -132,9 +132,9 @@ class rObject:
for rID in rr:
if ix >= len(used) or used[ix] > rID :
self.id = rID
xx.add(self.id)
return self.id
self._id = rID
xx.add(self._id)
return self._id
ix += 1
raise Exception("Unable to allocate id for resource")