From 05fe2ddc3cedbcee8a8c75a49a23f207c688bd61 Mon Sep 17 00:00:00 2001 From: Javier Fernandez Date: Wed, 20 Mar 2013 09:51:31 +0000 Subject: Init: Pythonize the CGExporter class. Change-Id: I985d0cc3cdb75b6f1443f316181ce83d423e2b91 --- wizards/com/sun/star/wizards/web/data/CGExporter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wizards/com') diff --git a/wizards/com/sun/star/wizards/web/data/CGExporter.py b/wizards/com/sun/star/wizards/web/data/CGExporter.py index ef4a9446705b..74288c755182 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 @@ class CGExporter(ConfigGroup): def supports(self, mime): return CGExporter.cp_SupportedMimeTypes == "" or \ - CGExporter.cp_SupportedMimeTypes.index(mime) > -1 + CGExporter.cp_SupportedMimeTypes.find(mime) > -1 -- cgit