FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 02-16-2010, 04:56 PM
Stephen Gallagher
 
Default Fixing errors found with ReviewBoard integration

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The attached patch resolves the following issues that were interfering
with FAS integration in ReviewBoard.


django/auth/middleware.py:
If there are other authentication mechanisms in place, don't throw
an exception on a missing session_id

django/auth/models.py:
connection.group_list returns a tuple, the second entry of which is
the dict that we intended to be accessing. Trying to call
gl['groups'] throws a KeyError

userinfo in _get_name() contains a double-level dictionary. When
requesting 'human_name', we need to access the 'person' dictionary
first or we throw a KeyError

- --
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkt63FwACgkQeiVVYja6o6MO5wCbBxWmJ7bVn6 FxzGuBOta+4IMI
TdYAn20akaNKqn2ibHU2Oy6n17BKOR+Q
=A2UF
-----END PGP SIGNATURE-----
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 

Thread Tools




All times are GMT. The time now is 09:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org