Mercurial > libervia-pubsub
diff sat_pubsub/backend.py @ 308:087b705493a6
fixed publisher check on item publishing
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 18 Dec 2015 13:01:02 +0100 |
parents | bf4098a6cbb7 |
children | 890b24b37b56 |
line wrap: on
line diff
--- a/sat_pubsub/backend.py Mon Dec 07 19:20:47 2015 +0100 +++ b/sat_pubsub/backend.py Fri Dec 18 13:01:02 2015 +0100 @@ -291,7 +291,7 @@ """Check that the itemIdentifiers correspond to items published by the current publisher""" def doCheck(item_pub_map): - for item_publisher in item_pub_map.iterValues(): + for item_publisher in item_pub_map.itervalues(): if item_publisher.userhost() != publisher.userhost(): raise error.ItemForbidden()