view pyikriam/lazy/www/core/__init__.py @ 263:83e3ce37779d

refined army scheme
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Sat, 22 Nov 2008 03:33:38 +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