~cjwatson/storm/py3-mocker-inspect

« back to all changes in this revision

Viewing changes to storm/exceptions.py

  • Committer: Colin Watson
  • Author(s): Thiago Bellini
  • Date: 2019-06-07 16:50:55 UTC
  • mfrom: (505.1.2 py3-exec)
  • Revision ID: cjwatson@canonical.com-20190607165055-wde88ni2707kyk97
Use Python 3-compatible exec functions. [r=cjwatson]

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
        self.message = message
131
131
 
132
132
    def __str__(self):
133
 
        return ', '.join(
 
133
        return ', '.join(
134
134
            [repr(element) for element in
135
135
             (self.message, self.statement, self.params)
136
136
             if element is not None])