Use _vcs_get_file_contents (vs get_file_contents) in Darcs._vcs_get_user_id
authorW. Trevor King <wking@drexel.edu>
Wed, 19 May 2010 11:04:55 +0000 (07:04 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 19 May 2010 11:04:55 +0000 (07:04 -0400)
libbe/storage/vcs/darcs.py

index 4a218884d3d0530afc2e9334a79e738ca3090004..b92977a168247c1f51ffc343b94990bef251fd45 100644 (file)
@@ -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]