[ldap] Use correct API for logging message
The good practice cat prefer logging to do the substitution himself.
--- a/sobjects/ldapparser.py Wed Apr 10 16:22:48 2013 +0200
+++ b/sobjects/ldapparser.py Wed Apr 10 16:46:18 2013 +0200
@@ -176,7 +176,7 @@
return self._cw.execute('Any X WHERE X is CWGroup, X name %(name)s',
{'name': name}).get_entity(0, 0)
except IndexError:
- self.error('group %r referenced by source configuration %r does not exist'
- % (name, self.source.uri))
+ self.error('group %r referenced by source configuration %r does not exist',
+ name, self.source.uri)
return None