comparison MoinMoin/script/account/resetpw.py @ 6001:77533e162654

improve python2.5 compatibility (with_statement)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 13 Aug 2013 12:17:47 +0200
parents 63412f39e2b4
children
comparison
equal deleted inserted replaced
6000:2ce7eb7299a1 6001:77533e162654
4 4
5 @copyright: 2006-2013 MoinMoin:ThomasWaldmann, 5 @copyright: 2006-2013 MoinMoin:ThomasWaldmann,
6 2008 MoinMoin:JohannesBerg 6 2008 MoinMoin:JohannesBerg
7 @license: GNU GPL, see COPYING for details. 7 @license: GNU GPL, see COPYING for details.
8 """ 8 """
9
10 from __future__ import with_statement
9 11
10 import sys 12 import sys
11 13
12 from MoinMoin.script import MoinScript, log 14 from MoinMoin.script import MoinScript, log
13 from MoinMoin.user import getUserList, set_password, Fault 15 from MoinMoin.user import getUserList, set_password, Fault