Changeset 202

Show
Ignore:
Timestamp:
08/24/08 09:40:56 (10 months ago)
Author:
rgrp
Message:

[shakespeare/cli][xs]: minor bugfix to search command which was using old add_item syntax.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/shakespeare/cli.py

    r200 r202  
    204204            text = model.Material.byName(extra) 
    205205            fileobj = text.get_text() 
    206             index.add_item(fileobj) 
     206            index.add_item(fileobj, text.name) 
    207207        elif action == 'init': 
    208208            self._init_index() 
     
    213213                self._print('Adding: %s' % text.name) 
    214214                fileobj = text.get_text() 
    215                 index.add_item(fileobj) 
     215                index.add_item(fileobj, text.name) 
    216216        else: 
    217217            print 'Unrecognized action: %s' % action