Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3022
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/22/3022/1
Init: Pythonize the CGExporter class.
Change-Id: I985d0cc3cdb75b6f1443f316181ce83d423e2b91
---
M wizards/com/sun/star/wizards/web/data/CGExporter.py
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/wizards/com/sun/star/wizards/web/data/CGExporter.py
b/wizards/com/sun/star/wizards/web/data/CGExporter.py
index ef4a944..74288c7 100644
--- a/wizards/com/sun/star/wizards/web/data/CGExporter.py
+++ b/wizards/com/sun/star/wizards/web/data/CGExporter.py
@@ -15,9 +15,9 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
-from common.ConfigSet import ConfigSet
-from CGArgument import CGArgument
-from common.ConfigGroup import ConfigGroup
+from ...common.ConfigSet import ConfigSet
+from ...common.ConfigGroup import ConfigGroup
+from .CGArgument import CGArgument
class CGExporter(ConfigGroup):
cp_Index = -1
@@ -37,4 +37,4 @@
def supports(self, mime):
return CGExporter.cp_SupportedMimeTypes == "" or \
- CGExporter.cp_SupportedMimeTypes.index(mime) > -1
+ CGExporter.cp_SupportedMimeTypes.find(mime) > -1
--
To view, visit https://gerrit.libreoffice.org/3022
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I985d0cc3cdb75b6f1443f316181ce83d423e2b91
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Javier Fernandez <javier.fgb@gmail.com>
Context
- [PATCH] Init: Pythonize the CGExporter 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.