comparison rhodecode/lib/auth.py @ 1217:a3b2b4b4e440

fixes for issue #149
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 05 Apr 2011 18:04:06 +0200
parents 7327a0d1584c
children 73434499fa72
comparison
equal deleted inserted replaced
1216:8363b0d20c41 1217:a3b2b4b4e440
7 7
8 :created_on: Apr 4, 2010 8 :created_on: Apr 4, 2010
9 :copyright: (c) 2010 by marcink. 9 :copyright: (c) 2010 by marcink.
10 :license: LICENSE_NAME, see LICENSE_FILE for more details. 10 :license: LICENSE_NAME, see LICENSE_FILE for more details.
11 """ 11 """
12 # This program is free software; you can redistribute it and/or 12 # This program is free software: you can redistribute it and/or modify
13 # modify it under the terms of the GNU General Public License 13 # it under the terms of the GNU General Public License as published by
14 # as published by the Free Software Foundation; version 2 14 # the Free Software Foundation, either version 3 of the License, or
15 # of the License or (at your opinion) any later version of the license. 15 # (at your option) any later version.
16 # 16 #
17 # This program is distributed in the hope that it will be useful, 17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of 18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details. 20 # GNU General Public License for more details.
21 # 21 #
22 # You should have received a copy of the GNU General Public License 22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software 23 # along with this program. If not, see <http://www.gnu.org/licenses/>.
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25 # MA 02110-1301, USA.
26 24
27 import random 25 import random
28 import logging 26 import logging
29 import traceback 27 import traceback
30 28