Skip to content

Commit

Permalink
py3k fix: remove forgotten iteritems in distributed LSI
Browse files Browse the repository at this point in the history
  • Loading branch information
piskvorky committed Jul 1, 2015
1 parent 570f08a commit 73d8167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/models/lsi_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def initialize(self, **model_params):
self.workers = {}
with utils.getNS() as ns:
self.callback = Pyro4.Proxy('PYRONAME:gensim.lsi_dispatcher') # = self
for name, uri in ns.list(prefix='gensim.lsi_worker').iteritems():
for name, uri in iteritems(ns.list(prefix='gensim.lsi_worker')):
try:
worker = Pyro4.Proxy(uri)
workerid = len(self.workers)
Expand Down

0 comments on commit 73d8167

Please sign in to comment.