aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
Diffstat (limited to 'libbe')
-rw-r--r--libbe/storage/util/upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/storage/util/upgrade.py b/libbe/storage/util/upgrade.py
index ddc434a..c3a5df1 100644
--- a/libbe/storage/util/upgrade.py
+++ b/libbe/storage/util/upgrade.py
@@ -137,7 +137,7 @@ class Upgrader (object):
def check_initial_version(self):
path = self.get_path('version')
- version = encoding.get_file_contents(path, decode=True).rstrip('\n')
+ version = encoding.get_file_contents(path, decode=True).rstrip()
assert version == self.initial_version, '%s: %s' % (path, version)
def set_version(self):