##// END OF EJS Templates
cmdutil: use sorted(dict) instead of x = dict.keys(); x.sort()...
cmdutil: use sorted(dict) instead of x = dict.keys(); x.sort() The former both does less work and has the virtue of working on Python 3.

File last commit:

r32512:0e8b0b9a default
r32528:9f56d462 default
Show More
parsers.py
10 lines | 318 B | text/x-python | PythonLexer
# parsers.py - Python implementation of parsers.c
#
# Copyright 2009 Matt Mackall <mpm@selenic.com> and others
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
from __future__ import absolute_import
from ..pure.parsers import *