Skip to content

Commit

Permalink
expand the host node name option on includes
Browse files Browse the repository at this point in the history
  • Loading branch information
plockaby committed Apr 11, 2016
1 parent 3ed820a commit 67e9c89
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 67e9c89

Please sign in to comment.