view pyikriam/lazy/www/core/utils.py @ 343:85d60a0569bf

fixed travel time for 0.3.0
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Thu, 12 Feb 2009 21:14:47 +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,)