Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/lsprofcalltree.py @ 8390:beae42f3d93b
drop unused imports
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Thu, 14 May 2009 15:35:46 +0200 |
parents | 9a1b86cfd29e |
children | 071af8d385a9 |
comparison
equal
deleted
inserted
replaced
8389:4b798b100c32 | 8390:beae42f3d93b |
---|---|
7 * Johan Dahlin | 7 * Johan Dahlin |
8 | 8 |
9 This software may be used and distributed according to the terms | 9 This software may be used and distributed according to the terms |
10 of the GNU General Public License, incorporated herein by reference. | 10 of the GNU General Public License, incorporated herein by reference. |
11 """ | 11 """ |
12 | |
13 import optparse | |
14 import os | |
15 import sys | |
16 | 12 |
17 def label(code): | 13 def label(code): |
18 if isinstance(code, str): | 14 if isinstance(code, str): |
19 return '~' + code # built-in functions ('~' sorts at the end) | 15 return '~' + code # built-in functions ('~' sorts at the end) |
20 else: | 16 else: |