aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/storage/vcs')
-rw-r--r--libbe/storage/vcs/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py
index b545a4e..11ce754 100644
--- a/libbe/storage/vcs/base.py
+++ b/libbe/storage/vcs/base.py
@@ -985,7 +985,7 @@ class VCS (libbe.storage.base.VersionedStorage):
raise libbe.storage.InvalidStorageVersion(None)
if revision == None: # don't require connection
return libbe.util.encoding.get_file_contents(
- path, decode=True).rstrip('\n')
+ path, decode=True).rstrip()
relpath = self._u_rel_path(path)
contents = self._vcs_get_file_contents(relpath, revision=revision)
if type(contents) != types.UnicodeType: