On Monday 20 January 2014 23:00:31 Chris Reffett wrote:
> +     if not ro_filesystems:
> +             return ro_filesystems
> +
> +     for directory in dir_list:
> +             for filesystem in ro_filesystems:
> +                     if filesystem == directory:
> +                             ro_filesystems_written.add(filesystem)
> +
> +     return ro_filesystems_written

is this just the intersection of two sets ?  so all this logic could be:
        return ro_filesystems ^ set(dir_list)
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to