diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-03-26 21:33:42 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-03-26 21:33:42 +0200 |
commit | a2a8718a3ed5a2ce8b1515fa276909e305cc211a (patch) | |
tree | 2701f1a3c8190aaf4fc0f995c5c6ad613aa7ee68 /setup.py | |
parent | 3ae521f2d1eae1b174bdedb7f53a36fb77adc356 (diff) | |
download | obnam-a2a8718a3ed5a2ce8b1515fa276909e305cc211a.tar.gz |
Use list-formats instead of hardcoding format list
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -199,7 +199,7 @@ class Check(Command): if 'REPOSITORY_FORMAT' in os.environ: return [os.environ['REPOSITORY_FORMAT']] else: - return ['6', 'simple'] + return cliapp.runcmd(['./obnam', 'list-formats']).splitlines() def run_yarn_for_repo_format(self, repo_format): print 'run yarn for repository format %s' % repo_format |