Skip to content

Commit

Permalink
Fix options fields writing in .tac file
Browse files Browse the repository at this point in the history
  • Loading branch information
rutsky committed Jul 3, 2013
1 parent 12dc3f4 commit 66a5a8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions slave/buildslave/scripts/create_slave.py
Expand Up @@ -47,10 +47,10 @@
pass
""",
"""
buildmaster_host = '%(host)s'
buildmaster_host = %(host)r
port = %(port)d
slavename = '%(name)s'
passwd = '%(passwd)s'
slavename = %(name)r
passwd = %(passwd)r
keepalive = %(keepalive)d
usepty = %(usepty)d
umask = %(umask)s
Expand Down Expand Up @@ -199,7 +199,7 @@ def createSlave(config):

asd = config['allow-shutdown']
if asd:
config['allow-shutdown'] = "'%s'" % asd
config['allow-shutdown'] = repr(asd)

if config['no-logrotate']:
slaveTAC = "".join([slaveTACTemplate[0]] + slaveTACTemplate[2:])
Expand Down

0 comments on commit 66a5a8d

Please sign in to comment.