Changes between Version 9 and Version 10 of PyAmazon


Ignore:
Timestamp:
06/18/06 00:52:33 (18 years ago)
Author:
atzm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PyAmazon

    v9 v10  
    8787    for d in data: 
    8888        authors = getattr(d, attr, None) 
     89        # 
    8990        if isinstance(authors, amazon.Bag): 
    9091            authors = getattr(authors, attr[:-1], None) 
     92            # 
    9193            if isinstance(authors, list): # リストの場合 
    9294                for a in authors: 
    9395                    print '  %s' % a 
     96            # 
    9497            elif authors is not None: # リストでも None でもない場合は str と仮定 
    9598                print '  %s' % authors