view pyikriam/lazy/www/core/utils.py @ 353:6c03c2c80429

fixed counting travel time
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sun, 15 Feb 2009 14:20:25 +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,)