Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Mar 13, 2018
1 parent 04de954 commit d26c242
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/serve/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,10 +662,6 @@ def normalise_config(config, ports):

domains[""] = host

ports_ = {}
for scheme, ports_used in ports.iteritems():
ports_[scheme] = ports_used

if "bind_hostname" in config:
logger.warning("bind_hostname in config is deprecated; use bind_address instead")
bind_address = config["bind_hostname"]
Expand Down

0 comments on commit d26c242

Please sign in to comment.