diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-03-12 11:31:04 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-03-12 11:31:04 +0000 |
commit | 0ad170ce2d5ea81c4aceab16aca27d7f2f3c6e8d (patch) | |
tree | b5d5b414c9de5237280dea402820cc056372c97d /morphlib/app.py | |
parent | 4abbd9f8c01301f62ed8817d2e31fadcde1bffda (diff) | |
download | morph-0ad170ce2d5ea81c4aceab16aca27d7f2f3c6e8d.tar.gz |
Fix creating a Source() from a cluster morphology
The Source.__init__() function assumes that the artifact.split_rules
attribute is not None. Rather than complicating that code with error
checks, let's make it always be correct.
Avoids traceback from Source.__init__() when passing a cluster morph to
`morph build`.
Diffstat (limited to 'morphlib/app.py')
0 files changed, 0 insertions, 0 deletions