Hello community,

here is the log from the commit of package python-ldap for openSUSE:Factory 
checked in at 2014-10-09 12:52:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ldap (Old)
 and      /work/SRC/openSUSE:Factory/.python-ldap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ldap"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ldap/python-ldap.changes  2014-09-10 
18:51:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-ldap.new/python-ldap.changes     
2014-10-09 12:52:51.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Oct  9 08:26:21 UTC 2014 - [email protected]
+
+- Update to upstream release 2.4.18
+
+-------------------------------------------------------------------
+Sat Sep 27 10:03:14 UTC 2014 - [email protected]
+
+- Update to upstream release 2.4.17
+
+-------------------------------------------------------------------

Old:
----
  python-ldap-2.4.16.tar.gz

New:
----
  python-ldap-2.4.18.tar.gz

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

Other differences:
------------------
++++++ python-ldap.spec ++++++
--- /var/tmp/diff_new_pack.sk4m1m/_old  2014-10-09 12:52:52.000000000 +0200
+++ /var/tmp/diff_new_pack.sk4m1m/_new  2014-10-09 12:52:52.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-ldap
-Version:        2.4.16
+Version:        2.4.18
 Release:        0
 Summary:        Python LDAP interface
 License:        Python-2.0

++++++ python-ldap-2.4.16.tar.gz -> python-ldap-2.4.18.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/CHANGES 
new/python-ldap-2.4.18/CHANGES
--- old/python-ldap-2.4.16/CHANGES      2014-09-10 14:16:46.000000000 +0200
+++ new/python-ldap-2.4.18/CHANGES      2014-10-09 10:22:44.000000000 +0200
@@ -1,4 +1,26 @@
 ----------------------------------------------------------------
+Released 2.4.18 2014-10-09
+
+Changes since 2.4.17:
+
+Lib/
+* Fixed raising exception in LDAPObject.read_s() when reading
+  an entry returns empty search result
+
+----------------------------------------------------------------
+Released 2.4.17 2014-09-27
+
+Changes since 2.4.16:
+
+Lib/
+* New hook syncrepl_refreshdone() in ldap.syncrepl.SyncReplConsumer
+  (thanks to Petr Spacek and Chris Mikkelson)
+
+Modules/
+* Added support for getting file descriptor of connection
+  with ldap.OPT_DESC
+
+----------------------------------------------------------------
 Released 2.4.16 2014-09-10
 
 Changes since 2.4.15:
@@ -1110,4 +1132,4 @@
 ----------------------------------------------------------------
 Released 1.10alpha3 2000-09-19
 
-$Id: CHANGES,v 1.324 2014/09/10 12:16:32 stroeder Exp $
+$Id: CHANGES,v 1.332 2014/10/09 08:22:13 stroeder Exp $
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Demo/pyasn1/syncrepl.py 
new/python-ldap-2.4.18/Demo/pyasn1/syncrepl.py
--- old/python-ldap-2.4.16/Demo/pyasn1/syncrepl.py      2014-09-10 
14:15:41.000000000 +0200
+++ new/python-ldap-2.4.18/Demo/pyasn1/syncrepl.py      2014-09-25 
19:10:03.000000000 +0200
@@ -93,6 +93,9 @@
             for uuid in uuids:
                     self.__presentUUIDs[uuid] = True
 
+    def syncrepl_refreshdone(self):
+        print 'Initial synchronization is now done, persist phase begins'
+
     def perform_application_sync(self,dn,attributes,previous_attributes):
         print 'Performing application sync for:', dn
         return True
@@ -135,8 +138,8 @@
                        'X-BINDPW=password\' db.shelve'
     sys.exit(1)
 except ValueError,e:
-    print 'Error parsing command-line arguments:',str(e)
-    sys.exit(1)
+  print 'Error parsing command-line arguments:',str(e)
+  sys.exit(1)
 
 while watcher_running:
     print 'Connecting to LDAP server now...'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Doc/conf.py 
new/python-ldap-2.4.18/Doc/conf.py
--- old/python-ldap-2.4.16/Doc/conf.py  2013-03-25 19:17:58.000000000 +0100
+++ new/python-ldap-2.4.18/Doc/conf.py  2014-10-09 10:22:45.000000000 +0200
@@ -11,7 +11,7 @@
 # All configuration values have a default value; values that are commented out
 # serve to show the default value.
 #
-# $Id: conf.py,v 1.18 2012/08/09 07:19:12 stroeder Exp $
+# $Id: conf.py,v 1.20 2014/10/08 17:16:05 stroeder Exp $
 
 import sys
 
@@ -36,7 +36,7 @@
 
 # General substitutions.
 project = 'python-ldap'
-copyright = '2008-2011, python-ldap project team'
+copyright = '2008-2014, python-ldap project team'
 
 # The default replacements for |version| and |release|, also used in various
 # other places throughout the built documents.
@@ -44,7 +44,7 @@
 # The short X.Y version.
 version = '2.4'
 # The full version, including alpha/beta/rc tags.
-release = '2.4.10.0'
+release = '2.4.18.0'
 
 # There are two options for replacing |today|: either, you set today to some
 # non-false value, then it is used:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Lib/dsml.py 
new/python-ldap-2.4.18/Lib/dsml.py
--- old/python-ldap-2.4.16/Lib/dsml.py  2014-09-10 14:15:41.000000000 +0200
+++ new/python-ldap-2.4.18/Lib/dsml.py  2014-10-09 10:22:45.000000000 +0200
@@ -4,13 +4,13 @@
 
 See http://www.python-ldap.org/ for details.
 
-$Id: dsml.py,v 1.33 2014/05/20 20:09:03 stroeder Exp $
+$Id: dsml.py,v 1.35 2014/10/08 17:16:05 stroeder Exp $
 
 Python compability note:
 Tested with Python 2.0+.
 """
 
-__version__ = '2.4.16'
+__version__ = '2.4.18'
 
 import string,base64
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Lib/ldap/__init__.py 
new/python-ldap-2.4.18/Lib/ldap/__init__.py
--- old/python-ldap-2.4.16/Lib/ldap/__init__.py 2014-09-10 14:15:41.000000000 
+0200
+++ new/python-ldap-2.4.18/Lib/ldap/__init__.py 2014-10-09 10:22:45.000000000 
+0200
@@ -3,12 +3,12 @@
 
 See http://www.python-ldap.org/ for details.
 
-$Id: __init__.py,v 1.93 2014/07/25 17:08:56 stroeder Exp $
+$Id: __init__.py,v 1.95 2014/10/08 17:16:05 stroeder Exp $
 """
 
 # This is also the overall release version number
 
-__version__ = '2.4.16'
+__version__ = '2.4.18'
 
 import sys
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Lib/ldap/ldapobject.py 
new/python-ldap-2.4.18/Lib/ldap/ldapobject.py
--- old/python-ldap-2.4.16/Lib/ldap/ldapobject.py       2014-09-10 
14:15:41.000000000 +0200
+++ new/python-ldap-2.4.18/Lib/ldap/ldapobject.py       2014-10-09 
10:22:45.000000000 +0200
@@ -3,7 +3,7 @@
 
 See http://www.python-ldap.org/ for details.
 
-\$Id: ldapobject.py,v 1.141 2014/09/09 10:14:47 stroeder Exp $
+\$Id: ldapobject.py,v 1.142 2014/10/08 17:27:06 stroeder Exp $
 
 Compability:
 - Tested with Python 2.0+ but should work with Python 1.5.x
@@ -663,7 +663,7 @@
     if r:
       return r[0][1]
     else:
-      return ldap.NO_SUCH_OBJECT('Empty search result reading %s' % (repr(dn)))
+      raise ldap.NO_SUCH_OBJECT('Empty search result reading entry %s' % 
(repr(dn)))
 
   def read_subschemasubentry_s(self,subschemasubentry_dn,attrs=None):
     """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Lib/ldap/syncrepl.py 
new/python-ldap-2.4.18/Lib/ldap/syncrepl.py
--- old/python-ldap-2.4.16/Lib/ldap/syncrepl.py 2013-03-25 19:17:58.000000000 
+0100
+++ new/python-ldap-2.4.18/Lib/ldap/syncrepl.py 2014-09-27 11:40:29.000000000 
+0200
@@ -4,7 +4,7 @@
 
 See http://www.python-ldap.org/ for project details.
 
-$Id: syncrepl.py,v 1.3 2012/08/09 07:18:31 stroeder Exp $
+$Id: syncrepl.py,v 1.6 2014/09/26 16:11:43 stroeder Exp $
 """
 
 #__all__ = [
@@ -316,6 +316,10 @@
         methods to store the cookie appropriately, rather than
         passing it.
 
+        Only a single syncrepl search may be active on a SyncreplConsumer 
+        object.  Multiple concurrent syncrepl searches require multiple 
+        separate SyncreplConsumer objects and thus multiple connections 
+        (LDAPObject instances).
         """
         if cookie is None:
             cookie = self.syncrepl_get_cookie()
@@ -330,7 +334,6 @@
         self.__refreshDone = False
         return self.search_ext(base, scope, **search_args)
 
-
     def syncrepl_poll(self, msgid=-1, timeout=None, all=0):
         """
         polls for and processes responses to the syncrepl_search() operation.
@@ -394,12 +397,16 @@
                         self.syncrepl_present(None, refreshDeletes=False)
                         if 'cookie' in sim.refreshPresent:
                             
self.syncrepl_set_cookie(sim.refreshPresent['cookie'])
-                        self.__refreshDone=sim.refreshPresent['refreshDone']
+                        if sim.refreshPresent['refreshDone']:
+                            self.__refreshDone = True
+                            self.syncrepl_refreshdone()
                     elif sim.refreshDelete is not None:
                         self.syncrepl_present(None, refreshDeletes=True)
                         if 'cookie' in sim.refreshDelete:
                             
self.syncrepl_set_cookie(sim.refreshDelete['cookie'])
-                        self.__refreshDone=sim.refreshDelete['refreshDone']
+                        if sim.refreshDelete['refreshDone']:
+                            self.__refreshDone = True
+                            self.syncrepl_refreshdone()
                     elif sim.syncIdSet is not None:
                         if sim.syncIdSet['refreshDeletes'] is True:
                             self.syncrepl_delete(sim.syncIdSet['syncUUIDs'])
@@ -467,3 +474,12 @@
 
         """
         pass
+
+    def syncrepl_refreshdone(self):
+        """
+        Called by syncrepl_poll() between refresh and persist phase.
+
+        It indicates that initial synchronization is done and persist phase
+        follows.
+        """
+        pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Lib/ldapurl.py 
new/python-ldap-2.4.18/Lib/ldapurl.py
--- old/python-ldap-2.4.16/Lib/ldapurl.py       2014-09-10 14:15:41.000000000 
+0200
+++ new/python-ldap-2.4.18/Lib/ldapurl.py       2014-10-09 10:22:45.000000000 
+0200
@@ -3,7 +3,7 @@
 
 See http://www.python-ldap.org/ for details.
 
-\$Id: ldapurl.py,v 1.66 2014/05/20 20:09:03 stroeder Exp $
+\$Id: ldapurl.py,v 1.68 2014/10/08 17:16:05 stroeder Exp $
 
 Python compability note:
 This module only works with Python 2.0+ since
@@ -11,7 +11,7 @@
 2. list comprehensions are used.
 """
 
-__version__ = '2.4.16'
+__version__ = '2.4.18'
 
 __all__ = [
   # constants
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Lib/ldif.py 
new/python-ldap-2.4.18/Lib/ldif.py
--- old/python-ldap-2.4.16/Lib/ldif.py  2014-09-10 14:15:41.000000000 +0200
+++ new/python-ldap-2.4.18/Lib/ldif.py  2014-10-09 10:22:45.000000000 +0200
@@ -3,13 +3,13 @@
 
 See http://www.python-ldap.org/ for details.
 
-$Id: ldif.py,v 1.75 2014/05/20 20:09:03 stroeder Exp $
+$Id: ldif.py,v 1.77 2014/10/08 17:16:05 stroeder Exp $
 
 Python compability note:
 Tested with Python 2.0+, but should work with Python 1.5.2+.
 """
 
-__version__ = '2.4.16'
+__version__ = '2.4.18'
 
 __all__ = [
   # constants
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Lib/python_ldap.egg-info/PKG-INFO 
new/python-ldap-2.4.18/Lib/python_ldap.egg-info/PKG-INFO
--- old/python-ldap-2.4.16/Lib/python_ldap.egg-info/PKG-INFO    2014-09-10 
14:17:36.000000000 +0200
+++ new/python-ldap-2.4.18/Lib/python_ldap.egg-info/PKG-INFO    2014-10-09 
10:23:54.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-ldap
-Version: 2.4.16
+Version: 2.4.18
 Summary: Python modules for implementing LDAP clients
 Home-page: http://www.python-ldap.org/
 Author: python-ldap project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Modules/constants.c 
new/python-ldap-2.4.18/Modules/constants.c
--- old/python-ldap-2.4.16/Modules/constants.c  2014-09-10 14:15:41.000000000 
+0200
+++ new/python-ldap-2.4.18/Modules/constants.c  2014-09-25 19:10:04.000000000 
+0200
@@ -1,6 +1,6 @@
 /* constants defined for LDAP
  * See http://www.python-ldap.org/ for details.
- * $Id: constants.c,v 1.58 2014/03/12 23:02:42 stroeder Exp $ */
+ * $Id: constants.c,v 1.59 2014/09/12 12:02:21 stroeder Exp $ */
 
 #include "common.h"
 #include "constants.h"
@@ -155,6 +155,7 @@
   add_int(d,OPT_API_FEATURE_INFO);
   add_int(d,OPT_HOST_NAME);
 
+  add_int(d,OPT_DESC);
   add_int(d,OPT_DIAGNOSTIC_MESSAGE);
 
   add_int(d,OPT_ERROR_STRING);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/Modules/options.c 
new/python-ldap-2.4.18/Modules/options.c
--- old/python-ldap-2.4.16/Modules/options.c    2013-11-23 15:20:28.000000000 
+0100
+++ new/python-ldap-2.4.18/Modules/options.c    2014-09-25 19:10:04.000000000 
+0200
@@ -1,5 +1,5 @@
 /* See http://www.python-ldap.org/ for details.
- * $Id: options.c,v 1.41 2013/09/11 08:16:27 stroeder Exp $ */
+ * $Id: options.c,v 1.42 2014/09/12 12:02:21 stroeder Exp $ */
 
 #include "common.h"
 #include "errors.h"
@@ -236,6 +236,7 @@
     case LDAP_OPT_PROTOCOL_VERSION:
     case LDAP_OPT_ERROR_NUMBER:
     case LDAP_OPT_DEBUG_LEVEL:
+    case LDAP_OPT_DESC:
 #ifdef HAVE_TLS
     case LDAP_OPT_X_TLS:
     case LDAP_OPT_X_TLS_REQUIRE_CERT:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-ldap-2.4.16/PKG-INFO 
new/python-ldap-2.4.18/PKG-INFO
--- old/python-ldap-2.4.16/PKG-INFO     2014-09-10 14:17:37.000000000 +0200
+++ new/python-ldap-2.4.18/PKG-INFO     2014-10-09 10:23:54.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-ldap
-Version: 2.4.16
+Version: 2.4.18
 Summary: Python modules for implementing LDAP clients
 Home-page: http://www.python-ldap.org/
 Author: python-ldap project

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

Reply via email to