Changeset 1413

Show
Ignore:
Timestamp:
09/10/08 12:42:41 (2 months ago)
Author:
sgillies
Message:

Fix secondary refs expectations

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PleiadesEntity/trunk/Extensions/loader.py

    r1408 r1413  
    111111    failures = [] 
    112112    count = 0 
    113     log = site.getLogger("pleiades.entity") 
     113    log = logging.getLogger("pleiades.entity") 
    114114    for xml in glob.glob("%s/*.xml" % sourcedir): 
    115115        try: 
     
    338338        parse_periods(e, name) 
    339339        # SecondaryReferences associated with the name 
    340         parse_secondary_references(root, name, ptool) #, wftool) 
     340        parse_secondary_references(e, name, ptool) #, wftool) 
    341341         
    342342    return (nids, association_certainties) 
     
    361361        parse_periods(root, portalcontext[lid]) 
    362362        # SecondaryReferences associated with the name 
    363         parse_secondary_references(root, portalcontext[lid], ptool) #, wftool) 
     363        parse_secondary_references(e, portalcontext[lid], ptool) #, wftool) 
    364364 
    365365    return lids 
  • PleiadesEntity/trunk/tests/subscribers.txt

    r1399 r1413  
    3939    >>> brain = catalog(UID=p.UID())[0] 
    4040    >>> brain.Title 
    41     'KSanthos' 
     41    'Xanthos' 
    4242 
    4343    >>> n.nameAttested = u'\u1f08\u03c6\u03c1\u03bf\u03b4\u03b9\u03c3\u03b9\u1f71\u03c2'