Permalink
Browse files

Better sysname prepend to queue name, fixes OOIION-699

  • Loading branch information...
daf committed Feb 12, 2013
1 parent 6e94a42 commit fec1e38b434bea9c641a21fbd1db698c59d588de
Showing with 1 addition and 1 deletion.
  1. +1 −1 pyon/net/channel.py
View
@@ -672,7 +672,7 @@ def close_impl(self):
def _declare_queue(self, queue):
# prepend xp name in the queue for anti-clobbering
- if queue and not self._recv_name.exchange in queue:
+ if queue and not queue.startswith(self._recv_name.exchange + "."):
queue = ".".join([self._recv_name.exchange, queue])
#log.debug('Auto-prepending exchange to queue name for anti-clobbering: %s', queue)

0 comments on commit fec1e38

Please sign in to comment.