scruffy/file.py
def cleanup(self):
        """
        Clean up children and remove the directory.

        Directory will only be removed if the cleanup flag is set.
        """
        for k in self._children:
            self._children[k].cleanup()

        if self._cleanup:
            self.remove(True)
def cleanup(self):
        """
        Clean up children and remove the directory.

        Directory will only be removed if the cleanup flag is set.
        """
        for k in self._children:
            self._children[k].cleanup()

        if self._cleanup:
            self.remove(True)
def cleanup ( self ) : for k in self . _children : self . _children [ k ] . cleanup ( ) if self . _cleanup : self . remove ( True )
Clean up children and remove the directory.

        Directory will only be removed if the cleanup flag is set.
Clean up children and remove the directory .