Gentoo Archives: gentoo-commits

From: "Alec Warner (antarus)" <antarus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in users/antarus/projects/infra: process_timer
Date: Fri, 02 May 2008 07:18:06
Message-Id: E1JrpWt-0000gU-P2@stork.gentoo.org
1 antarus 08/05/02 07:18:03
2
3 Modified: process_timer
4 Log:
5 Remove pdb.set_trace, random print statements that only make debugging worse ;)
6
7 Revision Changes Path
8 1.4 users/antarus/projects/infra/process_timer
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/users/antarus/projects/infra/process_timer?rev=1.4&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/users/antarus/projects/infra/process_timer?rev=1.4&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/users/antarus/projects/infra/process_timer?r1=1.3&r2=1.4
13
14 Index: process_timer
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/users/antarus/projects/infra/process_timer,v
17 retrieving revision 1.3
18 retrieving revision 1.4
19 diff -u -r1.3 -r1.4
20 --- process_timer 2 May 2008 07:16:57 -0000 1.3
21 +++ process_timer 2 May 2008 07:18:03 -0000 1.4
22 @@ -1,5 +1,5 @@
23 #!/usr/bin/python
24 -# $Header: /var/cvsroot/gentoo/users/antarus/projects/infra/process_timer,v 1.3 2008/05/02 07:16:57 antarus Exp $
25 +# $Header: /var/cvsroot/gentoo/users/antarus/projects/infra/process_timer,v 1.4 2008/05/02 07:18:03 antarus Exp $
26 # Copyright Alec Warner 2008
27 # Released in the public domain.
28
29 @@ -120,11 +120,7 @@
30 times = CalculateTime(pid[0])
31 logging.debug("Times: %s: %s" % (pid[1], times))
32 if opts.walltime:
33 - import pdb
34 - pdb.set_trace()
35 - print times['wall'] / 100, opts.time
36 if times['wall'] / 100 > opts.time:
37 - print 'ponies'
38 print pid[0]
39
40 if __name__ == "__main__":
41
42
43
44 --
45 gentoo-commits@l.g.o mailing list