Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalther Neuper <wneuper@localhost.(none)>2010-02-04 13:18:18 (GMT)
committer Walther Neuper <wneuper@localhost.(none)>2010-02-04 13:18:18 (GMT)
commitbb11fdfaeb88ebe7ec215e73820e2cd82358e309 (patch)
treee40421840b1174d1c4d13cc484c7308a4fd53f06
parentb9904af7a307abf7ecb3c468cc673b44e269fdba (diff)
nach ende der session
-rwxr-xr-xReckonPrimer.activity/extimesdiv.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/ReckonPrimer.activity/extimesdiv.py b/ReckonPrimer.activity/extimesdiv.py
index 4d62fb8..1f50040 100755
--- a/ReckonPrimer.activity/extimesdiv.py
+++ b/ReckonPrimer.activity/extimesdiv.py
@@ -66,24 +66,24 @@ class ExTimesDiv(Exercise):
_calcs = []
if _dic['*']:
_calcs.extend(self.tim_div(_dic['min'], _dic['max'], '*',
-_dic['shuffle_inner'], _dic['remainder'], _dic['vadd'], _dic['vmult']))
+ _dic['shuffle_inner'], _dic['remainder'],
+ _dic['vadd'], _dic['vmult']))
if _dic['*commute']:
_calcs.extend(self.tim_div(_dic['min'], _dic['max'], '*commute',
-_dic['shuffle_inner'], _dic['remainder'], _dic['vadd'], _dic['vmult']))
+ _dic['shuffle_inner'],_dic['remainder'],
+ _dic['vadd'], _dic['vmult']))
if _dic[':']:
_calcs.extend(self.tim_div(_dic['min'], _dic['max'], ':',
-_dic['shuffle_inner'], _dic['remainder'], _dic['vadd'], _dic['vmult']))
+ _dic['shuffle_inner'],_dic['remainder'],
+ _dic['vadd'], _dic['vmult']))
if _dic['in']:
_calcs.extend(self.tim_div(_dic['min'], _dic['max'], 'in',
-_dic['shuffle_inner'], _dic['remainder'], _dic['vadd'], _dic['vmult']))
+ _dic['shuffle_inner'],_dic['remainder'],
+ _dic['vadd'], _dic['vmult']))
if _dic['shuffle_all']:
random.shuffle(_calcs)
return _calcs
-# def count(self):
-# """TODO"""
-# return len(self._calcs)
-
def define_buttons(self):
"""buttons for this setting, which is specific for TimesDiv"""
self.label = gtk.Label("2")