Mercurial > fife-parpg
changeset 539:4c7b5eee211c
Improve errorhandling slighty
author | nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 01 Jun 2010 18:28:25 +0000 |
parents | 00aa20dc8b7f |
children | 2e739ae9a8bc |
files | engine/python/fife/extensions/fife_settings.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/engine/python/fife/extensions/fife_settings.py Tue Jun 01 18:14:26 2010 +0000 +++ b/engine/python/fife/extensions/fife_settings.py Tue Jun 01 18:28:25 2010 +0000 @@ -441,7 +441,7 @@ try: value = entry.initialdata.index(value) except ValueError: - raise ValueError(value + " is not a valid value for " + entry.name) + raise ValueError("\"" + value + "\" is not a valid value for " + entry.name + ". Valid options: " + str(entry.initialdata)) entry.initializeWidget(widget, value) def applySettings(self):