Mercurial > libervia-pubsub
diff sat_pubsub/backend.py @ 288:073161f6f143
namespace delegation: disco nesting management
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 17 Apr 2015 21:09:37 +0200 |
parents | a87c155d0fd5 |
children | 9f612fa19eea |
line wrap: on
line diff
--- a/sat_pubsub/backend.py Thu Apr 16 21:06:19 2015 +0200 +++ b/sat_pubsub/backend.py Fri Apr 17 21:09:37 2015 +0200 @@ -973,6 +973,9 @@ raise exc def getInfo(self, requestor, service, nodeIdentifier): + if not requestor.resource: + # this avoid error when getting a disco request from server during namespace delegation + return [] info = {} def saveType(result):