public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-editors/leo/files: leo-4.10-fix_syntax_errors.patch
@ 2012-04-10  3:50 Mike Gilbert (floppym)
  0 siblings, 0 replies; only message in thread
From: Mike Gilbert (floppym) @ 2012-04-10  3:50 UTC (permalink / raw
  To: gentoo-commits

floppym     12/04/10 03:50:21

  Added:                leo-4.10-fix_syntax_errors.patch
  Log:
  Add missing patch.
  
  (Portage version: 2.2.0_alpha100/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-editors/leo/files/leo-4.10-fix_syntax_errors.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/leo/files/leo-4.10-fix_syntax_errors.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/leo/files/leo-4.10-fix_syntax_errors.patch?rev=1.1&content-type=text/plain

Index: leo-4.10-fix_syntax_errors.patch
===================================================================
--- leo/external/edb.py
+++ leo/external/edb.py
@@ -74,6 +74,8 @@
 
 """
 
+from __future__ import print_function
+
 # NOTE: the actual command documentation is collected from docstrings of the
 # commands and is appended to __doc__ after the class has been defined.
 #@-<< docstring >>
--- leo/scripts/gen_blender_docs.py
+++ leo/scripts/gen_blender_docs.py
@@ -857,7 +857,7 @@
             py_descr2predef(_IDENT, fw, descr, module_name, type_name, key)
 
     for key, descr in descr_items:
-        if type(descr) in {types.FunctionType, types.MethodType}:
+        if type(descr) in (types.FunctionType, types.MethodType):
             pyfunc2predef(_IDENT, fw, key, descr)
 
     for key, descr in descr_items:






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-10  3:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-10  3:50 [gentoo-commits] gentoo-x86 commit in app-editors/leo/files: leo-4.10-fix_syntax_errors.patch Mike Gilbert (floppym)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox