view pyikriam/lazy/www/core/__init__.py @ 129:3756298f8e4b

fixed the island and city id in the military reports.
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Fri, 31 Oct 2008 01:53:57 +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