[Libreoffice-commits] .: wizards/com

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Sep 24 13:33:31 PDT 2012


 wizards/com/sun/star/wizards/common/ConfigSet.py         |    2 +-
 wizards/com/sun/star/wizards/common/Configuration.py     |    3 ++-
 wizards/com/sun/star/wizards/common/FileAccess.py        |    2 +-
 wizards/com/sun/star/wizards/common/NumberFormatter.py   |    4 ++--
 wizards/com/sun/star/wizards/common/PropertySetHelper.py |    3 +--
 wizards/com/sun/star/wizards/common/Resource.py          |    6 ------
 wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py  |    2 +-
 wizards/com/sun/star/wizards/ui/ControlScroller.py       |    1 -
 wizards/com/sun/star/wizards/ui/ImageList.py             |    2 +-
 wizards/com/sun/star/wizards/ui/PathSelection.py         |    4 ++--
 10 files changed, 11 insertions(+), 18 deletions(-)

New commits:
commit 9351d0e4181924c3f72be24081fc7af027aa41f7
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Mon Sep 24 22:15:09 2012 +0200

    pywizards: get rid of import * (3)
    
    Change-Id: Ibf7c6fc7863b6eccb28e5396587f2ec00ffcbe43

diff --git a/wizards/com/sun/star/wizards/common/ConfigSet.py b/wizards/com/sun/star/wizards/common/ConfigSet.py
index b5ff836..00b3331 100644
--- a/wizards/com/sun/star/wizards/common/ConfigSet.py
+++ b/wizards/com/sun/star/wizards/common/ConfigSet.py
@@ -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):
diff --git a/wizards/com/sun/star/wizards/common/Configuration.py b/wizards/com/sun/star/wizards/common/Configuration.py
index d76cad4..8f50558 100644
--- a/wizards/com/sun/star/wizards/common/Configuration.py
+++ b/wizards/com/sun/star/wizards/common/Configuration.py
@@ -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.
diff --git a/wizards/com/sun/star/wizards/common/FileAccess.py b/wizards/com/sun/star/wizards/common/FileAccess.py
index 6fa8493..6b91bc4 100644
--- a/wizards/com/sun/star/wizards/common/FileAccess.py
+++ b/wizards/com/sun/star/wizards/common/FileAccess.py
@@ -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
diff --git a/wizards/com/sun/star/wizards/common/NumberFormatter.py b/wizards/com/sun/star/wizards/common/NumberFormatter.py
index 1a8d3a6..67d9d98 100644
--- a/wizards/com/sun/star/wizards/common/NumberFormatter.py
+++ b/wizards/com/sun/star/wizards/common/NumberFormatter.py
@@ -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):
 
diff --git a/wizards/com/sun/star/wizards/common/PropertySetHelper.py b/wizards/com/sun/star/wizards/common/PropertySetHelper.py
index 3a2be35..c7d75a5 100644
--- a/wizards/com/sun/star/wizards/common/PropertySetHelper.py
+++ b/wizards/com/sun/star/wizards/common/PropertySetHelper.py
@@ -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):
 
diff --git a/wizards/com/sun/star/wizards/common/Resource.py b/wizards/com/sun/star/wizards/common/Resource.py
index 8d6837a..68f60a7 100644
--- a/wizards/com/sun/star/wizards/common/Resource.py
+++ b/wizards/com/sun/star/wizards/common/Resource.py
@@ -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):
diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
index e55f01a..e008aeb 100644
--- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
@@ -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( \
diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.py b/wizards/com/sun/star/wizards/ui/ControlScroller.py
index e89ac61..c38a4ba 100644
--- a/wizards/com/sun/star/wizards/ui/ControlScroller.py
+++ b/wizards/com/sun/star/wizards/ui/ControlScroller.py
@@ -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
diff --git a/wizards/com/sun/star/wizards/ui/ImageList.py b/wizards/com/sun/star/wizards/ui/ImageList.py
index 1a6b8dd..b743afa 100644
--- a/wizards/com/sun/star/wizards/ui/ImageList.py
+++ b/wizards/com/sun/star/wizards/ui/ImageList.py
@@ -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
 
diff --git a/wizards/com/sun/star/wizards/ui/PathSelection.py b/wizards/com/sun/star/wizards/ui/PathSelection.py
index 37040a6..6d5762d 100644
--- a/wizards/com/sun/star/wizards/ui/PathSelection.py
+++ b/wizards/com/sun/star/wizards/ui/PathSelection.py
@@ -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):


More information about the Libreoffice-commits mailing list