view ikweb/tools/lazy/www/core/__init__.py @ 304:cdbb428b464c

new rules for safehouse and academy
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Tue, 09 Dec 2008 03:16:31 +0800
parents 7747bbe5b68e
children
line wrap: on
line source

                          
class SemiProduct:

    last_work = None
    source = None
    content = None
    
    def __init__(self, **kwds):
        self.source = kwds.get('source','')        
        
    def __str__(self):        
        return self.content