/breezy/unstable

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

« back to all changes in this revision

Viewing changes to breezy/version_info_formats/format_custom.py

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