diff python/test.py @ 204:268458c79e9b

more cleanup of the shared library interface, but still not fully thread safe
author Carl Byington <carl@five-ten-sg.com>
date Sat, 06 Jun 2009 11:39:02 -0700
parents ffd1503a7530
children 1ddc61fd6189
line wrap: on
line diff
--- a/python/test.py	Tue May 19 10:20:33 2009 -0700
+++ b/python/test.py	Sat Jun 06 11:39:02 2009 -0700
@@ -1,8 +1,5 @@
 import _libpst, sys
 
-print _libpst.__dict__
-exit
-
 ft = _libpst.FILETIME()
 ft.dwLowDateTime = 0
 ft.dwHighDateTime = 1
@@ -28,7 +25,7 @@
                     if (ft):
                         print "message arrived at %s" % (pst.pst_rfc2425_datetime_format(ft))
                     if (em.messageid.str):
-                        print "message id is |%s|" % (em.messageid.str)
+                        print "message id is <%s>" % (em.messageid.str)
                     subj = item.subject;
                     if (subj and subj.str):
                         was = subj.is_utf8;
@@ -46,7 +43,7 @@
                         print "attachment id %d" % (attid)
                         att1 = att.filename1
                         att2 = att.filename2
-                        print "attachment file name %s %s" % (att1.str, att2.str)
+                        print "attachment file name short '%s' long '%s'" % (att1.str, att2.str)
                         if (0):
                             attdata = pst.pst_attach_to_mem(att)
                             if (attdata):