from .config import LDAPMigrationConfiguration
-__version__ = '0.9.8'
+__version__ = '0.9.9'
LOG = logging.getLogger(__name__)
CFG_BASENAME = 'ldap-migration.ini'
if self.verbose > 3:
LOG.debug("Discovered ObjectClasses:\n" + pp(self.object_classes.as_dict()))
else:
+ max_len = 1
+ for oc in self.object_classes.keys():
+ if len(oc) > max_len:
+ max_len = len(oc)
+ tpl = "{{n:<{m}}} - {{k}}".format(m=max_len)
oclist = []
for oc in self.object_classes.keys():
- oclist.append("{n} ({k})".format(n=oc, k=self.object_classes[oc]['kind']))
+ oclist.append(tpl.format(n=oc, k=self.object_classes[oc]['kind']))
LOG.debug("Discovered ObjectClasses:\n" + pp(oclist))
# -------------------------------------------------------------------------