Skip to content

Commit

Permalink
create slave: use OS specific path in messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Elmir Jagudin committed Jul 8, 2013
1 parent 815fad8 commit f61a924
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions slave/buildslave/scripts/create_slave.py
Expand Up @@ -153,7 +153,8 @@ def createFile(path, file, contents):
return False

if not quiet:
print "Creating info/%s, you need to edit it appropriately." % file
print "Creating %s, you need to edit it appropriately." % \
os.path.join("info", file)

try:
open(filepath, "wt").write(contents)
Expand Down Expand Up @@ -184,7 +185,8 @@ def createFile(path, file, contents):

if not os.path.exists(access_uri):
if not quiet:
print "Not creating info/access_uri - add it if you wish"
print "Not creating %s - add it if you wish" % \
os.path.join("info", "access_uri")

if created and not quiet:
print "Please edit the files in %s appropriately." % path
Expand Down

0 comments on commit f61a924

Please sign in to comment.