Hello community,

here is the log from the commit of package getmail for openSUSE:Factory checked 
in at 2011-11-21 15:45:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/getmail (Old)
 and      /work/SRC/openSUSE:Factory/.getmail.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "getmail", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/getmail/getmail.changes  2011-10-12 
16:12:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.getmail.new/getmail.changes     2011-11-21 
15:45:47.000000000 +0100
@@ -1,0 +2,14 @@
+Sun Nov 20 23:43:05 UTC 2011 - [email protected]
+
+- update to 4.23.0:
+  * fix race if new message shows up in POP3 mailbox between running the UIDL
+    and LIST commands
+
+-------------------------------------------------------------------
+Fri Nov 18 23:38:39 UTC 2011 - [email protected]
+
+- update to 4.22.2:
+  * ffix an error when logging a bad response to an IMAP SELECT command,
+    introduced in 4.21.0
+
+-------------------------------------------------------------------

Old:
----
  getmail-4.22.1.tar.gz

New:
----
  getmail-4.23.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ getmail.spec ++++++
--- /var/tmp/diff_new_pack.aJabgT/_old  2011-11-21 15:45:49.000000000 +0100
+++ /var/tmp/diff_new_pack.aJabgT/_new  2011-11-21 15:45:49.000000000 +0100
@@ -19,7 +19,7 @@
 
 
 Name:           getmail
-Version:        4.22.1
+Version:        4.23.0
 Release:        1
 Group:          Productivity/Networking/Email/Utilities
 License:        GNU General Public License version 2 (GPL v2)

++++++ getmail-4.22.1.tar.gz -> getmail-4.23.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-4.22.1/PKG-INFO new/getmail-4.23.0/PKG-INFO
--- old/getmail-4.22.1/PKG-INFO 2011-10-01 06:22:08.000000000 +0200
+++ new/getmail-4.23.0/PKG-INFO 2011-11-20 17:18:22.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: getmail
-Version: 4.22.1
+Version: 4.23.0
 Summary: a mail retrieval, sorting, and delivering system
 Home-page: http://pyropus.ca/software/getmail/
 Author: Charles Cazabon
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-4.22.1/docs/CHANGELOG 
new/getmail-4.23.0/docs/CHANGELOG
--- old/getmail-4.22.1/docs/CHANGELOG   2011-10-01 06:17:26.000000000 +0200
+++ new/getmail-4.23.0/docs/CHANGELOG   2011-11-20 17:17:54.000000000 +0100
@@ -1,3 +1,15 @@
+Version 4.23.0
+20 November 2011
+
+    Fix race if new message shows up in POP3 mailbox between running the UIDL 
+    and LIST commands.  Thanks: Roland Koebler, Osamu Aoki.
+
+Version 4.22.2
+12 November 2011
+
+  -fix an error when logging a bad response to an IMAP SELECT command, 
+  introduced in 4.21.0.  Thanks: "kureshii".
+
 Version 4.22.1
 30 September 2011
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-4.22.1/getmail.spec 
new/getmail-4.23.0/getmail.spec
--- old/getmail-4.22.1/getmail.spec     2011-10-01 06:22:06.000000000 +0200
+++ new/getmail-4.23.0/getmail.spec     2011-11-20 17:18:20.000000000 +0100
@@ -2,7 +2,7 @@
 
 Summary: POP3 mail retriever with reliable Maildir delivery
 Name: getmail
-Version: 4.22.1
+Version: 4.23.0
 Release: 1
 License: GPL
 Group: Applications/Internet
@@ -52,6 +52,12 @@
 %{python_sitelib}/getmailcore/
 
 %changelog
+* Sun Nov 20 2011 Charles Cazabon <[email protected]>
+-update to version 4.23.0
+
+* Sat Nov 12 2011 Charles Cazabon <[email protected]>
+-update to version 4.22.2
+
 * Fri Sep 30 2011 Charles Cazabon <[email protected]>
 -update to version 4.22.1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-4.22.1/getmailcore/__init__.py 
new/getmail-4.23.0/getmailcore/__init__.py
--- old/getmail-4.22.1/getmailcore/__init__.py  2011-10-01 06:17:27.000000000 
+0200
+++ new/getmail-4.23.0/getmailcore/__init__.py  2011-11-20 17:17:54.000000000 
+0100
@@ -16,7 +16,7 @@
     raise ImportError('getmail version 4 requires Python version 2.3.3'
                       ' or later')
 
-__version__ = '4.22.1'
+__version__ = '4.23.0'
 
 __all__ = [
     'baseclasses',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/getmail-4.22.1/getmailcore/_retrieverbases.py 
new/getmail-4.23.0/getmailcore/_retrieverbases.py
--- old/getmail-4.22.1/getmailcore/_retrieverbases.py   2011-10-01 
06:21:51.000000000 +0200
+++ new/getmail-4.23.0/getmailcore/_retrieverbases.py   2011-11-20 
17:17:54.000000000 +0100
@@ -570,7 +570,7 @@
     def _getmsglist(self):
         self.log.trace()
         try:
-            response, msglist, octets = self.conn.uidl()
+            (response, msglist, octets) = self.conn.uidl()
             self.log.debug('UIDL response "%s", %d octets'
                            % (response, octets) + os.linesep)
             for (i, line) in enumerate(msglist):
@@ -606,11 +606,15 @@
             self.log.debug('Message IDs: %s'
                            % sorted(self.msgnum_by_msgid.keys()) + os.linesep)
             self.sorted_msgnum_msgid = sorted(self.msgid_by_msgnum.items())
-            response, msglist, octets = self.conn.list()
+            (response, msglist, octets) = self.conn.list()
             for line in msglist:
                 msgnum = int(line.split()[0])
                 msgsize = int(line.split()[1])
-                self.msgsizes[self.msgid_by_msgnum[msgnum]] = msgsize
+                msgid = self.msgid_by_msgnum.get(msgnum, None)
+                # If no msgid found, it's a message that wasn't in the UIDL
+                # response above.  Ignore it and we'll get it next time.
+                if msgid is not None:
+                    self.msgsizes[msgid] = msgsize
         except poplib.error_proto, o:
             raise getmailOperationError(
                 'POP error (%s) - if your server does not support the UIDL '
@@ -898,7 +902,7 @@
         except (IndexError, ValueError), o:
             raise getmailOperationError(
                 'IMAP server failed to return correct SELECT response (%s)'
-                % response
+                % o
             )
         self.log.debug('select(%s) returned message count of %d'
                        % (mailbox, count) + os.linesep)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to