]> khamidou — GitHub mirrors - imapclient.git/commitdiff
removed devel bits
authorMenno Smits <menno@freshfoo.com>
Sun, 24 Jan 2010 19:24:55 +0000 (19:24 +0000)
committerMenno Smits <menno@freshfoo.com>
Sun, 24 Jan 2010 19:24:55 +0000 (19:24 +0000)
imapclient/response_parser.py
run_altfetch.py [deleted file]

index 4a908737a5fcaa56733a87852c0f74198c107bd4..4a43e995fcb501572407d2406adebe7e3cf99525 100644 (file)
@@ -10,9 +10,6 @@ from cStringIO import StringIO
 from datetime import datetime
 from fixed_offset import FixedOffset
 
-#XXX higher level response type response type processing
-#XXX plug-in this version
-#XXX remove old FetchParser
 #XXX handle escaping in strings especially: \"
 #    Check the RFC on this.
 #TODO more exact error reporting
diff --git a/run_altfetch.py b/run_altfetch.py
deleted file mode 100644 (file)
index 64dbf9e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-from pprint import pprint
-from imapclient import IMAPClient
-from imapclient.response_parser import parse_response
-
-def main():
-    i = IMAPClient('localhost')
-    i.login('mailtest', 'foobar')
-    i.select_folder('INBOX')
-    msgs = i.search()
-    i._imap.debug = 5
-    lines = i.altfetch(msgs, ['ENVELOPE', 'BODYSTRUCTURE'])
-
-    body = '\r\n'.join(lines)
-    #body += '\r\n'
-
-    for x in parse_response(body):
-        print x
-
-if __name__ == '__main__':
-    main()