diff options
author | amartin <olpc@localhost.localdomain> | 2007-01-25 14:41:42 (GMT) |
---|---|---|
committer | amartin <olpc@localhost.localdomain> | 2007-01-25 14:41:42 (GMT) |
commit | 486fed9cc18a1b13eb4d6d0fc8be8762ea589ea1 (patch) | |
tree | f1210fb00d7e7e402dc1eaf0ee4f617321461fa2 /SynthLab | |
parent | 597b94c98d88957cf383a6ef81fe10fc8508a202 (diff) |
less sketchy list (of list) duplication
Diffstat (limited to 'SynthLab')
-rw-r--r-- | SynthLab/SynthLabWindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SynthLab/SynthLabWindow.py b/SynthLab/SynthLabWindow.py index f86bb24..f8be382 100644 --- a/SynthLab/SynthLabWindow.py +++ b/SynthLab/SynthLabWindow.py @@ -259,7 +259,7 @@ class SynthLabWindow( gtk.Window ): def resetLocations( self ): # deep copy the list - exec "self.locations = " + "%s" % SynthLabConstants.INIT_LOCATIONS[:] + self.locations = [ loc[:] for loc in SynthLabConstants.INIT_LOCATIONS ] def handleReset( self, widget, data ): self.resetLocations() |