Skip to content

Commit

Permalink
remove unused getDirs method from slave
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Aug 15, 2010
1 parent dcec5d7 commit 8c516da
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions master/docs/developer.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,6 @@ reference to the master-side BuildSlave object in @code{self.perspective}.
The slave-side object has the following remote methods:

@table @code
@item remote_getDirs
Returns a list of subdirectories of the slave's basedir

@item remote_getCommands
Returns a list of @code{(name, version)} for all commands the slave recognizes

Expand Down
3 changes: 0 additions & 3 deletions slave/buildslave/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,6 @@ def startService(self):
assert os.path.isdir(self.basedir)
service.MultiService.startService(self)

def remote_getDirs(self):
return filter(lambda d: os.path.isdir(d), os.listdir(self.basedir))

def remote_getCommands(self):
commands = dict([
(n, base.command_version)
Expand Down

0 comments on commit 8c516da

Please sign in to comment.