/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/plugins/zsh_completion/zshcomp.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:
26
26
    option,
27
27
    plugin,
28
28
)
29
 
from ...sixish import (
30
 
    text_type,
31
 
    )
32
29
import breezy
33
30
import re
34
31
import sys
266
263
    """
267
264
 
268
265
    takes_options = [
269
 
        option.Option("function-name", short_name="f", type=text_type, argname="name",
 
266
        option.Option("function-name", short_name="f", type=str, argname="name",
270
267
                      help="Name of the generated function (default: _brz)"),
271
268
        option.Option("debug", type=None, hidden=True,
272
269
                      help="Enable shell code useful for debugging"),
273
 
        option.ListOption("plugin", type=text_type, argname="name",
 
270
        option.ListOption("plugin", type=str, argname="name",
274
271
                          # param_name="selected_plugins", # doesn't work, bug #387117
275
272
                          help="Enable completions for the selected plugin"
276
273
                          + " (default: all plugins)"),