Kaydet (Commit) 9351d0e4 authored tarafından Xisco Fauli's avatar Xisco Fauli

pywizards: get rid of import * (3)

Change-Id: Ibf7c6fc7863b6eccb28e5396587f2ec00ffcbe43
üst 34295434
......@@ -16,7 +16,7 @@
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
import traceback
from .ConfigNode import *
from .ConfigNode import ConfigNode
from .Configuration import Configuration
class ConfigSet(ConfigNode):
......
......@@ -15,9 +15,10 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
import uno
import traceback
from .PropertyNames import PropertyNames
from .Helper import *
from .Helper import Helper
'''
This class gives access to the OO configuration api.
......
......@@ -18,7 +18,7 @@
import traceback
import types
from os import path as osPath
from .NoValidPathException import *
from .NoValidPathException import NoValidPathException
from com.sun.star.ucb import CommandAbortedException
from com.sun.star.awt.VclWindowPeerAttribute import OK, YES_NO
......
......@@ -16,9 +16,9 @@
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
import traceback
import uno
from com.sun.star.lang import Locale
from com.sun.star.util.NumberFormat import DATE, LOGICAL, DATETIME, TEXT, NUMBER
from com.sun.star.util.NumberFormat import \
DATE, LOGICAL, DATETIME, TEXT, NUMBER
class NumberFormatter(object):
......
......@@ -15,8 +15,7 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from .DebugHelper import *
from .DebugHelper import *
from .DebugHelper import DebugHelper
class PropertySetHelper(object):
......
......@@ -22,12 +22,6 @@ from .SystemDialog import SystemDialog
from com.sun.star.awt.VclWindowPeerAttribute import OK
class Resource(object):
'''
Creates a new instance of Resource
@param _xMSF
@param _Unit
@param _Module
'''
@classmethod
def __init__(self, _xMSF, _Module):
......
......@@ -182,7 +182,7 @@ class FaxWizardDialogImpl(FaxWizardDialog):
(self.chkUseCommunicationType.State is not 0)
self.myFaxDoc.killEmptyFrames()
self.bSaveSuccess = OfficeDocument.store(self.xMSF,
TextDocument.xTextDocument, self.sPath, "writer8_template")
TextDocument.xTextDocument, self.sPath, "writer8_template")
if self.bSaveSuccess:
self.saveConfiguration()
xIH = self.xMSF.createInstance( \
......
......@@ -15,7 +15,6 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
import uno
import traceback
from wizards.common.Desktop import Desktop
from wizards.common.PropertyNames import PropertyNames
......
......@@ -17,7 +17,7 @@
#
from threading import RLock
from .PeerConfig import PeerConfig
from ..common.PropertyNames import *
from ..common.PropertyNames import PropertyNames
from ..common.HelpIds import HelpIds
from ..common.Helper import Helper
......
......@@ -16,8 +16,8 @@
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
import traceback
from ..common.PropertyNames import *
from ..common.FileAccess import *
from ..common.PropertyNames import PropertyNames
from ..common.FileAccess import FileAccess
from ..common.SystemDialog import SystemDialog
class PathSelection(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment