projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2b93b
)
Use _vcs_get_file_contents (vs get_file_contents) in Darcs._vcs_get_user_id
author
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 11:04:55 +0000
(07:04 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 11:04:55 +0000
(07:04 -0400)
libbe/storage/vcs/darcs.py
patch
|
blob
|
history
diff --git
a/libbe/storage/vcs/darcs.py
b/libbe/storage/vcs/darcs.py
index 4a218884d3d0530afc2e9334a79e738ca3090004..b92977a168247c1f51ffc343b94990bef251fd45 100644
(file)
--- 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]