Skip to content

Commit

Permalink
make clients use 'location' properly (fixes ipython#2361)
Browse files Browse the repository at this point in the history
This fixes a previous change that removed the location argument from the
call to util.disambiguate_ip_address, which stops it getting used where
interface is * or 0.0.0.0.
  • Loading branch information
ikn committed Aug 30, 2012
1 parent 95f54e4 commit 236dc6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/parallel/client/client.py
Expand Up @@ -418,7 +418,7 @@ def __init__(self, url_file=None, profile=None, profile_dir=None, ipython_dir=No
location = cfg.setdefault('location', None)

proto,addr = cfg['interface'].split('://')
addr = util.disambiguate_ip_address(addr)
addr = util.disambiguate_ip_address(addr, location)
cfg['interface'] = "%s://%s" % (proto, addr)

# turn interface,port into full urls:
Expand Down

0 comments on commit 236dc6b

Please sign in to comment.