view ikweb/tools/lazy/www/core/utils.py @ 291:73c9bf517155

fixed for check checking
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 05 Dec 2008 22:49:36 +0800
parents 7747bbe5b68e
children
line wrap: on
line source


def mix_in(py_class, mixin_class):
    if mixin_class not in py_class.__bases__:
        py_class.__bases__ += (mixin_class,)