quilt/utils.py
def get_directory(self):
        """ Returns the directory where the file is placed in or None if the
        path to the file doesn't contain a directory
        """
        dirname = os.path.dirname(self.filename)
        if dirname:
            return Directory(dirname)
        else:
            return None
def get_directory(self):
        dirname = os.path.dirname(self.filename)
        if dirname:
            return Directory(dirname)
        else:
            return None
def get_directory ( self ) : dirname = os . path . dirname ( self . filename ) if dirname : return Directory ( dirname ) else : return None
Returns the directory where the file is placed in or None if the
        path to the file doesn't contain a directory
Returns the directory where the file is placed in or None if the path to the file doesn t contain a directory