/breezy/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/trunk

« back to all changes in this revision

Viewing changes to breezy/version_info_formats/format_custom.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 22:06:41 UTC
  • mfrom: (6738 trunk)
  • mto: This revision was merged to the branch mainline in revision 6739.
  • Revision ID: jelmer@jelmer.uk-20170723220641-69eczax9bmv8d6kk
Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
                data = self._data[name]
76
76
            except KeyError:
77
77
                raise errors.MissingTemplateVariable(name)
78
 
            if not isinstance(data, basestring):
 
78
            if not isinstance(data, str):
79
79
                data = str(data)
80
80
            yield data
81
81