Re: setquota in Python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Re: setquota in Python

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@xxxxxxxxxxxxxxxxxxxxxx> 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

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux