view pyikriam/lazy/www/core/__init__.py @ 93:73f0a1cafc23

upgrade townHall first, then the wall.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Mon, 27 Oct 2008 11:06:11 +0800
parents a4c364888197
children 60c4b4b78a01
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