diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-06-03 03:58:05 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-06-03 03:58:05 (GMT) |
commit | 8a1444a516beef7eb3cac305ca1d0d711656070c (patch) | |
tree | f32e02a42a8124702fdcbc12a54128cb661f08d1 | |
parent | f7698a3688e2314632f72c2a9310fc9f31ea89fa (diff) |
pep8 cleanup
-rw-r--r-- | yupana.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -175,7 +175,7 @@ class Yupana(): if mode is not None: self._mode = mode - o = (SIX - 1) * (TEN + 1) # only label units + o = (SIX - 1) * (TEN + 1) # only label units if mode == 'ten': for i in range(TEN + 1): self._dots[o + i].set_label('1') @@ -312,7 +312,6 @@ class Yupana(): else: return (self.custom[4] ** e) * self.custom[3] - def remote_button_press(self, dot, color): ''' Receive a button press from a sharer ''' self._dots[dot].type = color @@ -489,7 +488,7 @@ class Yupana(): d="m 32.382709,4.7758124 c -0.123616,1.0811396 1.753928,2.8458658 2.728329,2.9439992 0.974405,0.098134 6.718874,0.7298319 9.159392,-0.1962668 0.820281,-0.3112699 0.968884,-0.9547989 0.974407,-1.4719993 0.02053,-1.9240971 0.03247,-4.7715376 -3.507853,-5.49546551 C 39.556079,0.11012647 37.217081,1.4131653 35.500801,2.2243463 34.054814,2.9077752 32.496703,3.7788369 32.382709,4.7758124 z"\ style="fill:#b69556;fill-opacity:1;stroke:#b69556;stroke-width:1.31189477px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /></g>' % ( scale, scale) - + def _footer(self): return '</svg>\n' |