summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-03-30 15:14:28 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-03-30 15:23:59 -0500
commit3bd140506ee9b250bf88a15ad9ad20ab905d3c54 (patch)
treecfea0bd7ac2038293089af448b78603c0babfbf1
parent10b2b9d9bd9e8da76247651c996627a7921a04c3 (diff)
downloadvyos-1x-3bd140506ee9b250bf88a15ad9ad20ab905d3c54.tar.gz
vyos-1x-3bd140506ee9b250bf88a15ad9ad20ab905d3c54.zip
migration: T2029: remove reference to default vintage in Migrator
-rw-r--r--python/vyos/migrator.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/python/vyos/migrator.py b/python/vyos/migrator.py
index 7d77e6bac..9a5fdef2f 100644
--- a/python/vyos/migrator.py
+++ b/python/vyos/migrator.py
@@ -61,9 +61,6 @@ class Migrator(object):
if self._set_vintage:
self._config_file_vintage = self._set_vintage
- if not self._config_file_vintage:
- self._config_file_vintage = vyos.defaults.cfg_vintage
-
if self._config_file_vintage not in ['vyatta', 'vyos']:
raise MigratorError("Unknown vintage.")