diff options
author | W. Trevor King <wking@drexel.edu> | 2011-04-14 14:13:36 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2011-04-14 14:13:41 -0400 |
commit | 28b2fb89784f7a1f2dd61a4d157f6c511c5587fe (patch) | |
tree | 363b1a7fd31fb3646bc183489ecbf66c6be184c5 /libbe/storage/vcs/base.py | |
parent | 44cbfdc1e8e9c6c7fb115c7ea101e2532d58e436 (diff) | |
download | bugseverywhere-28b2fb89784f7a1f2dd61a4d157f6c511c5587fe.tar.gz |
Add libbe.ui.util.user.get_fallback_fullname() and use pwd when possible.
This patch is based on Julien Muchembled's pwd suggestions.
Diffstat (limited to 'libbe/storage/vcs/base.py')
-rw-r--r-- | libbe/storage/vcs/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py index aba6159..3ff6e7e 100644 --- a/libbe/storage/vcs/base.py +++ b/libbe/storage/vcs/base.py @@ -537,7 +537,7 @@ class VCS (libbe.storage.base.VersionedStorage): self.user_id = self._vcs_get_user_id() if self.user_id == None: # guess missing info - name = libbe.ui.util.user.get_fallback_username() + name = libbe.ui.util.user.get_fallback_fullname() email = libbe.ui.util.user.get_fallback_email() self.user_id = libbe.ui.util.user.create_user_id(name, email) return self.user_id |