summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-06-01 20:11:08 +0300
committerLars Wirzenius <liw@liw.fi>2016-06-01 20:11:08 +0300
commit8b0b96472073b1ef0e44b93d9a1c11df31491ac9 (patch)
tree38d6f79916f0dc2b3edf298a423c563faf7e8e93
parent40b6decb697e97cfd1e7e3b4d4d5a25a36567e97 (diff)
downloadobnam-8b0b96472073b1ef0e44b93d9a1c11df31491ac9.tar.gz
Fix default repo version setting interp
This broke at some point, no idea when or how.
-rw-r--r--obnamlib/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/app.py b/obnamlib/app.py
index b8493775..0a320798 100644
--- a/obnamlib/app.py
+++ b/obnamlib/app.py
@@ -287,7 +287,7 @@ class App(cliapp.Application):
'6': obnamlib.RepositoryFormat6,
'green-albatross': obnamlib.RepositoryFormatGA,
}
- return classes[self.settings['repository-format']]
+ return classes[str(self.settings['repository-format'])]
def time(self):
'''Return current time in seconds since epoch.