[PATCH] Init: Pythonize the class CGPublish.
Javier Fernandez (via Code Review)
gerrit at gerrit.libreoffice.org
Mon Mar 25 03:47:31 PDT 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3023
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/23/3023/1
Init: Pythonize the class CGPublish.
Change-Id: I3930dd1702bf12f35d0456b56e629d3d865df056
---
M wizards/com/sun/star/wizards/web/data/CGPublish.py
1 file 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 2a0619c..6a5c92f 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 @@
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 ""
--
To view, visit https://gerrit.libreoffice.org/3023
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3930dd1702bf12f35d0456b56e629d3d865df056
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Javier Fernandez <javier.fgb at gmail.com>
More information about the LibreOffice
mailing list