diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-07-23 21:41:25 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-07-23 21:41:25 (GMT) |
commit | 387d3b4d7df226066328cae62682565117a8fb21 (patch) | |
tree | e31c0512b338b3ea21a91d5b5f3fc8da3f9fc8ed | |
parent | 52b885d285b8e1e8754b945d21cdb67c51064e8f (diff) |
Pep8 fixes
-rw-r--r-- | Area.py | 6 | ||||
-rw-r--r-- | Desenho.py | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -1344,14 +1344,14 @@ class Area(gtk.DrawingArea): # Decide which is the cursor hot spot offset: if self.tool['name'] == 'stamp': - hotspot_x, hotspot_y = 20, 38 # horizontal + hotspot_x, hotspot_y = 20, 38 # horizontal # center and # bottom elif self.tool['name'] == 'picker': - hotspot_x, hotspot_y = 1, 38 # bottom left + hotspot_x, hotspot_y = 1, 38 # bottom left # corner else: - hotspot_x, hotspot_y = 0, 0 + hotspot_x, hotspot_y = 0, 0 cursor = gtk.gdk.Cursor(display, pixbuf, hotspot_x, hotspot_y) except gobject.GError: @@ -466,8 +466,8 @@ class Desenho: ctx.move_to(0, 0) ctx.curve_to(0, -30, -50, -30, -50, 0) ctx.curve_to(-50, 30, 0, 35, 0, 60) - ctx.curve_to (0, 35, 50, 30, 50, 0) - ctx.curve_to (50, -30, 0, -30, 0, 0) + ctx.curve_to(0, 35, 50, 30, 50, 0) + ctx.curve_to(50, -30, 0, -30, 0, 0) ctx.set_line_width(line_width / w) if fill: |