Projects
Kolab:16:TestingLinked
pykolab-python3
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 9
View file
pykolab.spec
Changed
@@ -250,18 +250,6 @@ %prep %setup -q -%if 0%{?use_python3} -sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' kolabd.py -sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' saslauthd.py -sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' conf.py -sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' setup-kolab.py -sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' wallace.py -sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' kolab-cli.py -sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' bin/kolab_parse_telemetry.py -sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|g' bin/kolab_smtp_access_policy.py -%endif - - %build autoreconf -v || automake --add-missing && autoreconf -v
View file
pykolab-0.9.0.tar.gz/conf.py
Changed
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # -*- coding: utf-8 -*- # # Copyright 2010-2013 Kolab Systems AG (http://www.kolabsys.com)
View file
pykolab-0.9.0.tar.gz/kolabd.py
Changed
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # # Copyright 2010-2013 Kolab Systems AG (http://www.kolabsys.com) #
View file
pykolab-0.9.0.tar.gz/pykolab/cli/cmd_delete_mailbox.py
Changed
@@ -37,6 +37,17 @@ def description(): return """Delete a mailbox or sub-folder. Note that the mailbox or folder is removed recursively.""" +def cli_options(): + my_option_group = conf.add_cli_parser_option_group(_("CLI Options")) + my_option_group.add_option( + '--server', + dest="connect_server", + action="store", + default=None, + metavar="SERVER", + help=_("Delete mailboxes on server SERVER only.") + ) + def execute(*args, **kw): """ Delete mailbox @@ -48,7 +59,10 @@ imap = IMAP() - imap.connect() + if not conf.connect_server == None: + imap.connect(server=conf.connect_server) + else: + imap.connect() delete_folders = while len(conf.cli_args) > 0:
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.