setquota in Python

Marc Patermann hans.moser at ofd-z.niedersachsen.de
Wed Jul 14 08:03:50 EDT 2010


Hi,

Reinaldo de Carvalho schrieb am 14.07.2010 13:09 Uhr:
> On Wed, Jul 14, 2010 at 7:57 AM, Marc Patermann
> <hans.moser at ofd-z.niedersachsen.de> wrote:

>> for my migration purposes (2.2.12 -> 2.3.16) I'm experimenting with
>> python (2.4.2) to transfer the quota information from the old to the new
>> server.
>>
> ...
>> What am I doing wrong?
> Look http://python-cyrus.sf.net
Thanks.

So the simple answer is:
 >>> r = s_server.setquota("user.ystaats","(STORAGE 50000)")

:)

Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20100714/7d5977aa/attachment.html 


More information about the Info-cyrus mailing list