summaryrefslogtreecommitdiffstats
path: root/wizards
diff options
context:
space:
mode:
authorJavier Fernandez <jfernandez@igalia.com>2013-03-20 09:55:59 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-03-25 13:23:06 +0000
commitdfa61f1811828606d910a521b21c33821dc04f41 (patch)
treea2a47ff1798b3d0e0dd825d298e010f8cd59214d /wizards
parentInit: Pythonize the class CGSession. (diff)
downloadcore-dfa61f1811828606d910a521b21c33821dc04f41.tar.gz
core-dfa61f1811828606d910a521b21c33821dc04f41.zip
Init: Pythonize the class CGPublish.
Change-Id: I3930dd1702bf12f35d0456b56e629d3d865df056
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/web/data/CGPublish.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/wizards/com/sun/star/wizards/web/data/CGPublish.py b/wizards/com/sun/star/wizards/web/data/CGPublish.py
index 2a0619c26597..6a5c92f4dd93 100644
--- a/wizards/com/sun/star/wizards/web/data/CGPublish.py
+++ b/wizards/com/sun/star/wizards/web/data/CGPublish.py
@@ -15,7 +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 common.ConfigGroup import ConfigGroup
+from ...common.ConfigGroup import ConfigGroup
'''
A Class which describes the publishing arguments
@@ -30,18 +30,20 @@ class CGPublish(ConfigGroup):
cp_URL = str()
cp_Username = str()
password = str()
+ overwriteApproved = bool()
+ url = str()
def setURL(self, path):
try:
self.cp_URL = (self.root).getFileAccess().getURL(path)
self.overwriteApproved = False
- except Exception, ex:
+ except Exception as ex:
ex.printStackTrace()
def getURL(self):
try:
return (self.root).getFileAccess().getPath(self.cp_URL, None)
- except Exception, e:
+ except Exception as e:
e.printStackTrace()
return ""