of course the later snipplet should be:
---
def get_options(opts):
    """Return True or False if an option is set or not"""
    vals = opts.__dict__.values()

    if vals == [None * len(vals)]:
        return False

    return True
---

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to