view pyikriam/lazy/www/core/utils.py @ 274:2590bcd517a5

added time information in output
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Mon, 01 Dec 2008 20:54:23 +0800
parents a4c364888197
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,)