improve README example session to reflect reality
[notmuch] / README
1 >>>from cnotmuch import notmuch
2 >>>db = notmuch.Database("/home/spaetz/mail")
3 db.get_path()
4 '/home/spaetz/mail'
5 >>>tags = db.get_all_tags()
6 inited tags with 44762960 'Notmuch DB /home/spaetz/mail'
7 >>>for tag in tags: 
8 >>>  print tag
9 inbox
10 ...
11 maildir::draft
12 Freeing the Tags now
13
14 #---------------------------------------------
15
16 >>>db = notmuch.Database("/home/spaetz/mailHAHA")
17 NotmuchError: Could not open the specified database
18
19 #---------------------------------------------
20
21 >>>tags = notmuch.Database("/home/spaetz/mail").get_all_tags()
22 >>>del(tags)
23 Freeing the Tags now
24 Freeing the database now