Fix 5d871787: provide sofwtare release URL at error

parent 947682b9
...@@ -289,7 +289,7 @@ class Partition(object): ...@@ -289,7 +289,7 @@ class Partition(object):
except IOError, e: except IOError, e:
# Template not found on SR, we notify user. # Template not found on SR, we notify user.
raise IOError('Software Release %s is not correctly installed.\n' raise IOError('Software Release %s is not correctly installed.\n'
'%s' % e) '%s' % (self.software_release_url, e))
# fill generated buildout with additional information # fill generated buildout with additional information
buildout_text = open(config_location).read() buildout_text = open(config_location).read()
buildout_text += '\n\n' + pkg_resources.resource_string(__name__, buildout_text += '\n\n' + pkg_resources.resource_string(__name__,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment