Skip to content

Commit

Permalink
Merge pull request #737 from plockaby/expand-host-node-name
Browse files Browse the repository at this point in the history
expand the host node name option on includes
  • Loading branch information
mnaberez committed Apr 11, 2016
2 parents 3b3b90c + 67e9c89 commit bba1c5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion supervisor/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,9 @@ def read_config(self, fp):
if need_close:
fp.close()

expansions = {'here':self.here}
host_node_name = platform.node()
expansions = {'here':self.here,
'host_node_name':host_node_name}
expansions.update(self.environ_expansions)
if parser.has_section('include'):
parser.expand_here(self.here)
Expand Down

0 comments on commit bba1c5c

Please sign in to comment.