From: W. Trevor King Date: Wed, 19 May 2010 11:04:55 +0000 (-0400) Subject: Use _vcs_get_file_contents (vs get_file_contents) in Darcs._vcs_get_user_id X-Git-Tag: 1.0.0~59^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec043501dc30a8d4ba0b106ebfef51435c0d5f14;p=be.git Use _vcs_get_file_contents (vs get_file_contents) in Darcs._vcs_get_user_id --- 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]