aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/darcs.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-05-19 07:04:55 -0400
committerW. Trevor King <wking@drexel.edu>2010-05-19 07:04:55 -0400
commitec043501dc30a8d4ba0b106ebfef51435c0d5f14 (patch)
treec5af7d009a5d79ce2695a0794d5677d5548b1201 /libbe/storage/vcs/darcs.py
parent7e2b93bcfd577363dc4ee112d705fe22011f5edb (diff)
downloadbugseverywhere-ec043501dc30a8d4ba0b106ebfef51435c0d5f14.tar.gz
Use _vcs_get_file_contents (vs get_file_contents) in Darcs._vcs_get_user_id
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 4a21888..b92977a 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.get_file_contents(pref_path)
+ return self._vcs_get_file_contents(pref_path)
for env_variable in ['DARCS_EMAIL', 'EMAIL']:
if env_variable in os.environ:
return os.environ[env_variable]