~cjwatson/storm/py3-final

« back to all changes in this revision

Viewing changes to storm/schema/patch.py

  • Committer: Colin Watson
  • Date: 2019-08-12 16:01:08 UTC
  • mfrom: (510.5.1 py3-reraise-fix)
  • Revision ID: cjwatson@canonical.com-20190812160108-999hzo8cr6hs2i3g
Fix mistake in conversion to six.reraise. [r=doismellburning]

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
            patch_repr = getattr(module, "__file__", version)
125
125
            six.reraise(
126
126
                BadPatchError,
127
 
                "Patch %s failed: %s: %s" %
128
 
                    (patch_repr, type.__name__, str(value)),
 
127
                BadPatchError(
 
128
                    "Patch %s failed: %s: %s" %
 
129
                    (patch_repr, type.__name__, str(value))),
129
130
                traceback)
130
131
        self._committer.commit()
131
132