summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-03-13 17:18:34 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-03-13 17:18:34 +0000
commitdb43fd651817d9487c9f33ac72072f53e7738e03 (patch)
tree45f9744d9d6a4a44cc28199e61b310841fc68819 /app-editors/leo/files
parentDelete older ebuilds. (diff)
downloadgentoo-2-db43fd651817d9487c9f33ac72072f53e7738e03.tar.gz
gentoo-2-db43fd651817d9487c9f33ac72072f53e7738e03.tar.bz2
gentoo-2-db43fd651817d9487c9f33ac72072f53e7738e03.zip
Version bump.
(Portage version: 15825-svn/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/leo/files')
-rw-r--r--app-editors/leo/files/leo-4.7.1-fix_syntax_errors.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/app-editors/leo/files/leo-4.7.1-fix_syntax_errors.patch b/app-editors/leo/files/leo-4.7.1-fix_syntax_errors.patch
new file mode 100644
index 000000000000..2809f2d3f2b2
--- /dev/null
+++ b/app-editors/leo/files/leo-4.7.1-fix_syntax_errors.patch
@@ -0,0 +1,32 @@
+--- leo/plugins/ConceptualSort.py
++++ leo/plugins/ConceptualSort.py
+@@ -207,8 +207,7 @@
+ usort = compile( code, 'user_sort', 'exec' )
+ def lcsort2( a, b, atts =atts ):
+ z = {}
+- # exec usort in {}, z
+- exec(usort,{},z)
++ exec usort in {}, z
+ rv = z[ 'user_sort' ]( a, b, atts )
+ return rv
+ self.children.sort( lcsort2 )
+--- leo/plugins/LeoN.py
++++ leo/plugins/LeoN.py
+@@ -216,7 +216,7 @@
+
+ # receive an operation to execute
+ if dbg >=1:
+- print("Site %i;%s; '%s'; receiving %s"%(self.site_index, self.state_vector, self.get_text(), t_op)
++ print("Site %i;%s; '%s'; receiving %s"%(self.site_index, self.state_vector, self.get_text(), t_op))
+
+
+ if is_causally_ready(t_op, self): # check if it is causally ready
+@@ -308,7 +308,7 @@
+ if undoed: # if there was an undo, then redo
+ if dbg>=1:
+ print("Site %i; '%s'; undoed %s; executed %s;"%(
+- self.site_index, self.get_text(), undoed, EOnew) # just for debugging
++ self.site_index, self.get_text(), undoed, EOnew)) # just for debugging
+ EOoL = [] # EO'm+1 List
+
+ EOoL.append( IT( HB[m+1], EOnew ) )