La til to_string og to_dict for Person. #5

This commit is contained in:
2011-03-05 18:54:58 +00:00
parent 6d22c04847
commit 223864c2ae
3 changed files with 22 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ def search_book_cmd(search_strings, search_description=False):
books = search_book(search_strings, search_description)
format = '%-13s %-10s %-40s %-30s'
for book in books:
print book.to_string(True)
print book.to_string(False)
#b_id = book.getid() or ''
#title = cut_str(book.title, 40, '*')
#authors = map(lambda p: p.first_name+' '+p.last_name,