view pyikriam/lazy/www/core/utils.py @ 264:3b3f1306255a

added _croak message to track the database locking issue
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Mon, 24 Nov 2008 17:44:43 +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,)