public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/pyfeyn/files: pyfeyn-0.3.4.patch pyfeyn-0.3.3.patch
@ 2014-05-14 11:25 Andrey Grozin (grozin)
  0 siblings, 0 replies; only message in thread
From: Andrey Grozin (grozin) @ 2014-05-14 11:25 UTC (permalink / raw
  To: gentoo-commits

grozin      14/05/14 11:25:57

  Added:                pyfeyn-0.3.4.patch
  Removed:              pyfeyn-0.3.3.patch
  Log:
  An upstream bugfix; cleaning old
  
  (Portage version: 2.2.10/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)

Revision  Changes    Path
1.1                  dev-python/pyfeyn/files/pyfeyn-0.3.4.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfeyn/files/pyfeyn-0.3.4.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfeyn/files/pyfeyn-0.3.4.patch?rev=1.1&content-type=text/plain

Index: pyfeyn-0.3.4.patch
===================================================================
diff -r -U2 pyfeyn-0.3.4.orig/pyfeyn/lines.py pyfeyn-0.3.4/pyfeyn/lines.py
--- pyfeyn-0.3.4.orig/pyfeyn/lines.py	2014-03-06 23:12:24.000000000 +0700
+++ pyfeyn-0.3.4/pyfeyn/lines.py	2014-05-14 21:45:49.356935407 +0700
@@ -117,8 +117,12 @@
         """Make this line a straight line between start and end."""
         self.arcthrupoint = None
+        return self
 
 
     def bend(self, amount):
         """Bend the line to the right by a given distance."""
+        if amount==0:
+            self.arcthrupoint = None
+            return self
         middle = self.p1.midpoint(self.p2)
         nx = (middle.y() - self.p1.y()) / abs(self.p1.distance(middle))





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

only message in thread, other threads:[~2014-05-14 11:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-14 11:25 [gentoo-commits] gentoo-x86 commit in dev-python/pyfeyn/files: pyfeyn-0.3.4.patch pyfeyn-0.3.3.patch Andrey Grozin (grozin)

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