view pyikriam/lazy/www/core/__init__.py @ 241:64549ddddf4a

count by ally score
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 07 Nov 2008 15:18:23 +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