Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ def run_psql(self):

def search(self, directory):
"""
Search all leaf directories in the specified directory
Search all directories in the specified directory
"""
result = self.find(directory, "-mindepth", "1", "-type", "d")
result = self.find(directory, "-mindepth", "1", "-maxdepth", "1", "-type", "d")
return result.splitlines()

def do_rsync(self, source, destination):
Expand Down Expand Up @@ -381,4 +381,4 @@ def main(self):
sys.exit(0)

if __name__ == "__main__":
App.run()
App.run()