aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/ui
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2010-06-22 12:11:36 -0400
committerChris Ball <cjb@laptop.org>2010-06-22 12:11:36 -0400
commitc91e05c4211ea94d513b2024719c6ee27b5d6dab (patch)
treebed6478da41f6160c212a728e805fe4108a9c1a0 /libbe/ui
parent0df4bd7ae194bb07f36a2a69a0549037de01cb52 (diff)
parent401152d6eec5167043dedde60c0a64d0affbd120 (diff)
downloadbugseverywhere-c91e05c4211ea94d513b2024719c6ee27b5d6dab.tar.gz
Merge with Trevor
Diffstat (limited to 'libbe/ui')
-rw-r--r--libbe/ui/util/user.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbe/ui/util/user.py b/libbe/ui/util/user.py
index 460a1dd..412575f 100644
--- a/libbe/ui/util/user.py
+++ b/libbe/ui/util/user.py
@@ -101,10 +101,12 @@ def get_user_id(storage=None):
The source order is:
- 1. Global BE configuration.
+ 1. Global BE configuration [#]_ (default section, setting 'user').
2. `storage.get_user_id`, if that function is defined.
3. :func:`get_fallback_username` and :func:`get_fallback_email`.
+ .. [#] See :mod:`libbe.storage.util.config`.
+
Notes
-----
Sometimes the storage will keep track of the user ID (e.g. most