aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/darcs.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-05-19 07:17:36 -0400
committerW. Trevor King <wking@drexel.edu>2010-05-19 07:17:36 -0400
commita2a51929a848ffa6db92ec7218994461ecccb50a (patch)
tree63525a76f32eab87cc39ffd223859bd7fb3f5f3f /libbe/storage/vcs/darcs.py
parentec043501dc30a8d4ba0b106ebfef51435c0d5f14 (diff)
downloadbugseverywhere-a2a51929a848ffa6db92ec7218994461ecccb50a.tar.gz
Fixed Eric Kow's _darcs/prefs/author bug.
Diffstat (limited to 'libbe/storage/vcs/darcs.py')
-rw-r--r--libbe/storage/vcs/darcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/storage/vcs/darcs.py b/libbe/storage/vcs/darcs.py
index b92977a..0f23278 100644
--- a/libbe/storage/vcs/darcs.py
+++ b/libbe/storage/vcs/darcs.py
@@ -120,7 +120,7 @@ class Darcs(base.VCS):
for pref_file in ['author', 'email']:
pref_path = os.path.join(darcs_dir, 'prefs', pref_file)
if os.path.exists(pref_path):
- return self._vcs_get_file_contents(pref_path)
+ return self._vcs_get_file_contents(pref_path).strip()
for env_variable in ['DARCS_EMAIL', 'EMAIL']:
if env_variable in os.environ:
return os.environ[env_variable]