revert unrelated change

This commit is contained in:
Christian McHugh 2016-03-11 09:30:37 -06:00
parent 3bf25dd104
commit 75a3c166ad

View File

@ -672,10 +672,7 @@ def bootstrap_container(name, dist=None, version=None):
'nspawn.bootstrap: no dist provided, defaulting to \'{0}\''
.format(dist)
)
try:
return globals()['_bootstrap_{0}'.format(dist)](name, version=version)
except KeyError:
raise CommandExecutionError('Unsupported distribution "{0}"'.format(dist))
return globals()['_bootstrap_{0}'.format(dist)](name, version=version)
def _needs_install(name):