diff options
Diffstat (limited to 'pyuno/demo')
-rw-r--r-- | pyuno/demo/biblioaccess.py | 4 | ||||
-rw-r--r-- | pyuno/demo/ooextract.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/pyuno/demo/biblioaccess.py b/pyuno/demo/biblioaccess.py index 0e5d0b4c8071..5ad5a2625f01 100644 --- a/pyuno/demo/biblioaccess.py +++ b/pyuno/demo/biblioaccess.py @@ -37,7 +37,7 @@ def main(): rowset.CommandType = COMMAND rowset.Command = "SELECT IDENTIFIER, AUTHOR FROM biblio" - rowset.execute(); + rowset.execute() print("Identifier\tAuthor") @@ -46,7 +46,7 @@ def main(): while rowset.next(): print(rowset.getString(id) + "\t" + repr(rowset.getString(author))) - rowset.dispose(); + rowset.dispose() main() diff --git a/pyuno/demo/ooextract.py b/pyuno/demo/ooextract.py index 0aec00f43a47..e93b169a8273 100644 --- a/pyuno/demo/ooextract.py +++ b/pyuno/demo/ooextract.py @@ -17,7 +17,8 @@ # the License at http://www.apache.org/licenses/LICENSE-2.0 . # -import getopt,sys +import getopt +import sys import uno from unohelper import Base,systemPathToFileUrl |