/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/cmd_version_info.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-02-14 03:16:54 UTC
  • mfrom: (7479.2.3 no-more-python2)
  • Revision ID: breezy.the.bot@gmail.com-20200214031654-bp1xtv2jr9nmhto3
Drop python2 support.

Merged from https://code.launchpad.net/~jelmer/brz/no-more-python2/+merge/378694

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    )
35
35
from .commands import Command
36
36
from .option import Option, RegistryOption
37
 
from .sixish import text_type
38
37
 
39
38
 
40
39
def _parse_version_info_format(format):
87
86
                            help='Include the revision-history.'),
88
87
                     Option('include-file-revisions',
89
88
                            help='Include the last revision for each file.'),
90
 
                     Option('template', type=text_type,
 
89
                     Option('template', type=str,
91
90
                            help='Template for the output.'),
92
91
                     'revision',
93
92
                     ]