Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-07-23 21:41:25 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-07-23 21:41:25 (GMT)
commit387d3b4d7df226066328cae62682565117a8fb21 (patch)
treee31c0512b338b3ea21a91d5b5f3fc8da3f9fc8ed
parent52b885d285b8e1e8754b945d21cdb67c51064e8f (diff)
Pep8 fixes
-rw-r--r--Area.py6
-rw-r--r--Desenho.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/Area.py b/Area.py
index a25d44b..4afc471 100644
--- a/Area.py
+++ b/Area.py
@@ -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:
diff --git a/Desenho.py b/Desenho.py
index ab791ff..939a0a9 100644
--- a/Desenho.py
+++ b/Desenho.py
@@ -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: