Yvo Schubbe wrote:
+ self._logger.info('\'%s\' type info imported.' % self.context.getId())


Please avoid this hard-to-read style of backslash-quoting, you could do:

self._logger.info("'%s' type info imported." % self.context.getId())

(It is also my personal convention that I enclose "English" strings in "" and all the rest in '', it's useful because it isolates them, English can have single quotes in it, and non-english very rarely has single quotes in it)

Or even better:

self._logger.info("%r type info imported." % self.context.getId())

Florent

--
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to