Merge authors:
Florian Fuchs (flo-fuchs)
------------------------------------------------------------
revno: 37 [merge]
committer: Florian Fuchs <[email protected]>
branch nick: mailman.client
timestamp: Fri 2012-11-02 15:51:30 +0100
message:
added _User.delete() method
modified:
src/mailmanclient/_client.py
--
lp:mailman.client
https://code.launchpad.net/~mailman-coders/mailman.client/trunk
Your team Mailman Coders is subscribed to branch lp:mailman.client.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman.client/trunk/+edit-subscription
=== modified file 'src/mailmanclient/_client.py'
--- src/mailmanclient/_client.py 2012-09-26 21:06:31 +0000
+++ src/mailmanclient/_client.py 2012-11-02 14:46:38 +0000
@@ -631,6 +631,10 @@
data, method='PATCH')
self._info = None
+ def delete(self):
+ response, content = self._connection.call(self._url, method='DELETE')
+
+
class _Addresses:
def __init__(self, connection, user_id):
self._connection = connection
_______________________________________________
Mailman-coders mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-coders