| commit | 11a560967f11f10ec570f665d0e65e17f124912a | [log] |
|---|---|---|
| author | Xisco Fauli <anistenis@gmail.com> | Sun Jun 09 21:52:24 2013 +0200 |
| committer | Xisco Fauli <anistenis@gmail.com> | Sun Jun 09 22:02:58 2013 +0200 |
| tree | 4533e255c8d271f98f85d87ef4657c02660a201d | |
| parent | 6571193609f4fb4e5ac714b55787d172a86983fe [diff] |
pyweb: Handle Keyerror exception Change-Id: I16ea149917b911ba074415511d1f5053439c33bb
diff --git a/wizards/com/sun/star/wizards/web/WWD_Events.py b/wizards/com/sun/star/wizards/web/WWD_Events.py index ded7466..0e75c23 100644 --- a/wizards/com/sun/star/wizards/web/WWD_Events.py +++ b/wizards/com/sun/star/wizards/web/WWD_Events.py
@@ -19,7 +19,6 @@ import traceback import uno import time #from common.Desktop import Desktop from .WWD_Startup import WWD_Startup from .WWD_General import WWD_General from .WebWizardConst import *
diff --git a/wizards/com/sun/star/wizards/web/WebConfigSet.py b/wizards/com/sun/star/wizards/web/WebConfigSet.py index 1c73761..92640dd 100644 --- a/wizards/com/sun/star/wizards/web/WebConfigSet.py +++ b/wizards/com/sun/star/wizards/web/WebConfigSet.py
@@ -147,7 +147,10 @@ class WebConfigSet(ConfigGroup): return self.childrenList[i] def getElement(self, o): return self.childrenMap[o] try: return self.childrenMap[o] except KeyError: return None def getSize(self): return len(self.childrenList)
diff --git a/wizards/com/sun/star/wizards/web/WebWizard.py b/wizards/com/sun/star/wizards/web/WebWizard.py index 241e776..a576ea8 100644 --- a/wizards/com/sun/star/wizards/web/WebWizard.py +++ b/wizards/com/sun/star/wizards/web/WebWizard.py
@@ -17,6 +17,7 @@ # import traceback from ..common.Desktop import Desktop from .WWD_Events import WWD_Events # The last class in the WebWizard Dialog class hirarchy.