On 27.06.2012 21:01, Alexey Luchko wrote:
translationstring import could be rewritten like """ try: import translationstring except ImportError: _ = lamba x: x else: _ = translationstring.TranslationStringFactory('colander') """, isn't it?
Sorry, (lambda x: x) won't work. It could be (lambda *a, **k: (a, k)) but it is not good.
-- Alex -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.