Mercurial > eagle-eye
view pyikriam/lazy/www/core/utils.py @ 139:3bbb1e559e21
we are happy when the city level is more then 20
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Fri, 31 Oct 2008 10:11:00 +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,)