Skip to content

Commit

Permalink
Fix detection of windows path module from slave.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomprince committed Nov 29, 2012
1 parent 233f4e9 commit 693033a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions master/buildbot/buildslave.py
Expand Up @@ -439,8 +439,8 @@ def _accept_slave(res):
self.slave_basedir = state.get("slave_basedir")
self.slave_system = state.get("slave_system")
self.slave = bot
if self.slave_system == "win32":
self.path_module = namedModule("win32path")
if self.slave_system == "nt":
self.path_module = namedModule("ntpath")
else:
# most eveything accepts / as separator, so posix should be a
# reasonable fallback
Expand Down

0 comments on commit 693033a

Please sign in to comment.