| Index: appengine/gce-backend/agent/agent.py
|
| diff --git a/appengine/gce-backend/agent/agent.py b/appengine/gce-backend/agent/agent.py
|
| index 4b68ea29410d0fad86c553c747270e0850044b1a..7e661147989f5b5de72f5bd878f7e73d5161f735 100755
|
| --- a/appengine/gce-backend/agent/agent.py
|
| +++ b/appengine/gce-backend/agent/agent.py
|
| @@ -187,7 +187,7 @@ class Agent(object):
|
|
|
| path = os.path.join(self.LOGS_DIR, 'agent.%s.log' % time.time())
|
| if not os.path.exists(self.LOGS_DIR):
|
| - os.mkdir(self.LOGS_DIR)
|
| + os.makedirs(self.LOGS_DIR)
|
|
|
| logger = logging.getLogger()
|
| logger.setLevel(logging.DEBUG)
|
| @@ -286,7 +286,7 @@ class Agent(object):
|
| True if successful, False otherwise.
|
| """
|
| if not os.path.exists(self.SWARMING_BOT_DIR):
|
| - os.mkdir(self.SWARMING_BOT_DIR)
|
| + os.makedirs(self.SWARMING_BOT_DIR)
|
| self.chown(self.user, self.SWARMING_BOT_DIR)
|
|
|
| path = os.path.join(self.SWARMING_BOT_DIR, 'swarming_bot.zip')
|
|
|