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@gmail.com>
Context
- [PATCH] Init: Pythonize the WebWizardDialogResources class. · Javier Fernandez (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.