diff options
author | Javier Fernandez <jfernandez@igalia.com> | 2013-03-20 09:51:31 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-25 13:23:06 +0000 |
commit | 05fe2ddc3cedbcee8a8c75a49a23f207c688bd61 (patch) | |
tree | 720f4b2990480e516a7913f776a9fa87da2b644b /wizards | |
parent | dfa61f1811828606d910a521b21c33821dc04f41 (diff) |
Init: Pythonize the CGExporter class.
Change-Id: I985d0cc3cdb75b6f1443f316181ce83d423e2b91
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/web/data/CGExporter.py | 8 |
1 files 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 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 |