From c67e568a0a34e89a77cb2121d2b3859cd6885e69 Mon Sep 17 00:00:00 2001 From: isen Date: Fri, 09 Oct 2009 03:51:13 +0000 Subject: ajout de commentaires sur le code review des proprietes. Message with multiple tails.426452 --- (limited to 'tutorius/creator.py') diff --git a/tutorius/creator.py b/tutorius/creator.py index 7463fa3..82d0628 100644 --- a/tutorius/creator.py +++ b/tutorius/creator.py @@ -395,7 +395,7 @@ class EditToolBox(gtk.Window): def _list_prop_changed(self, widget, evt, action, propname, idx): try: - getattr(action, propname)[idx] = eval(widget.get_text()) + getattr(action, propname)[idx] = eval(widget.get_text())#chercher autre méthode pour remplacer eval. coup de perf. non sécu except ValueError: widget.set_text(str(getattr(action, propname)[idx])) self.__parent._creator._action_refresh_cb(None, None, action) -- cgit v0.9.1