def _delivery_boxes(self, da): prefix = sos.path.split(da)[-1] dirs = [d for d in subdirs(da) if not sos.path.split(d)[-1].startswith(".")] if not dirs: inbox = self._path(da, "inbox") for d in "cur", "new", "tmp": self._path(inbox, d) dirs.append(inbox) return self.extra_delivery_boxes + [self._new_delivery_box(d, prefix) for d in dirs]
def _delivery_boxes(self, da): prefix = sos.path.split(da)[-1] dirs = \ [ d for d in subdirs (da) if not sos.path.split (d) [-1].startswith (".") ] if not dirs: inbox = self._path(da, "inbox") for d in "cur", "new", "tmp": self._path(inbox, d) dirs.append(inbox) return \ ( self.extra_delivery_boxes + [self._new_delivery_box (d, prefix) for d in dirs] )
def _storage_boxes(self, path, da): return \ [ PMA.Mailbox (sa) for sa in subdirs (path) if sa != da if not sos.path.split (sa) [-1].startswith (".") ]
def _subdirs (self, path) : return subdirs (path)
def run_dir (d) : run_mods (d) for s in subdirs (d) : run_dir (s)
def _storage_boxes(self, path, da): return [PMA.Mailbox(sa) for sa in subdirs(path) if sa != da if not sos.path.split(sa)[-1].startswith(".")]
def run_app_tests_dir_transitive \ (d, exclude, py_executables, py_options, summary) : run_app_tests_dir (d, exclude, py_executables, py_options, summary) for s in subdirs (d) : run_app_tests_dir_transitive \ (s, exclude, py_executables, py_options, summary)