[comment] add comment for maybe unhandled situation
authorLaurent Peuch <cortex@worlddomination.be>
Thu, 05 Dec 2019 18:39:09 +0100
changeset 12807 fb0936668535
parent 12806 91e262556573
child 12808 6cbb1e2a6e49
[comment] add comment for maybe unhandled situation
cubicweb/server/repository.py
--- a/cubicweb/server/repository.py	Thu Dec 05 18:38:00 2019 +0100
+++ b/cubicweb/server/repository.py	Thu Dec 05 18:39:09 2019 +0100
@@ -190,6 +190,7 @@
             yield cnxset
 
     def close(self):
+        # XXX we don't close the connection when there is no queue?
         if self._queue is not None:
             while not self._queue.empty():
                 cnxset = self._queue.get_nowait()