[PATCH] Init: Pythonize the WebWizardDialogResources class.
Javier Fernandez (via Code Review)
gerrit at gerrit.libreoffice.org
Mon Mar 25 03:47:23 PDT 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3020
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/20/3020/1
Init: Pythonize the WebWizardDialogResources class.
Change-Id: I416e4b02c7f8128c0a9f81cb7e7dbf366c7941e5
---
M wizards/com/sun/star/wizards/web/WebWizardDialogResources.py
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/wizards/com/sun/star/wizards/web/WebWizardDialogResources.py b/wizards/com/sun/star/wizards/web/WebWizardDialogResources.py
index ca295de..a8b5e54 100644
--- a/wizards/com/sun/star/wizards/web/WebWizardDialogResources.py
+++ b/wizards/com/sun/star/wizards/web/WebWizardDialogResources.py
@@ -16,10 +16,10 @@
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
import traceback
-from common.Resource import Resource
-from common.Configuration import Configuration
-from common.Properties import Properties
-from document.OfficeDocument import OfficeDocument
+from ..common.Resource import Resource
+from ..common.Configuration import Configuration
+from ..common.Properties import Properties
+from ..document.OfficeDocument import OfficeDocument
class WebWizardDialogResources(Resource):
UNIT_NAME = "dbwizres"
@@ -311,5 +311,5 @@
self.resGifFiles = Properties.getPropertyValue(
OfficeDocument.getTypeMediaDescriptor(
xmsf, "gif_Graphics_Interchange"), "UIName")
- except Exception, ex:
+ except Exception as ex:
traceback.print_exc()
--
To view, visit https://gerrit.libreoffice.org/3020
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I416e4b02c7f8128c0a9f81cb7e7dbf366c7941e5
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Javier Fernandez <javier.fgb at gmail.com>
More information about the LibreOffice
mailing list