On 9/03/2017 23:16, ishigane wrote:
> When run "gtags" with "--gtagslabel=pygments" option, GTAGS file don't have 
> any function names.
> CTagsParser (at "share/gtags/script/pygments_parser.py") failed to 
> initialize, gtags only use pygments.

I can confirm this occurs with Win7 and Python 3.4.

>       if p.wait() == 0:
>           path = p.stdout.readline().rstrip()
> +    if sys.version_info >= (3, ):
> +        path = path.decode()

I would suggest indenting the new lines, since there's no need to do it for the 
empty string.  Should probably also add "encoding='latin1'" to match what's 
used elsewhere, but it's doubtful the command would be anything other than 
ASCII, anyway.

-- 
Jason.

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to