Ignore:
Timestamp:
Sep 25, 2009 1:48:14 PM (15 years ago)
Author:
piv
Message:

added pop method in SortedDict?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/__init__.py

    r1313 r1317  
    8484 
    8585            # Special cases 
    86             if accessor == 'Description' and not (result.has_key('description') or metadata_names.has_key('description')): 
     86            if accessor == 'Description' and not metadata_names.has_key('description'): 
    8787                result['description'] = value 
    88             elif accessor == 'Subject' and not (result.has_key('keywords') or metadata_names.has_key('keywords')): 
     88            elif accessor == 'Subject' and not metadata_names.has_key('keywords'): 
    8989                result['keywords'] = value 
    9090 
Note: See TracChangeset for help on using the changeset viewer.