Author: poeml Date: 2009-06-22 16:35:56 -0600 (Mon, 22 Jun 2009) New Revision: 7584 Modified: trunk/tools/download-redirector-v2/mirrordoctor/mb/util.py Log: mb scan: - cleanup of commented stuff forgotten before last commit. Modified: trunk/tools/download-redirector-v2/mirrordoctor/mb/util.py =================================================================== --- trunk/tools/download-redirector-v2/mirrordoctor/mb/util.py 2009-06-22 22:28:32 UTC (rev 7583) +++ trunk/tools/download-redirector-v2/mirrordoctor/mb/util.py 2009-06-22 22:35:56 UTC (rev 7584) @@ -1,6 +1,9 @@ import sys, os +import time +t_start = 0 + class Afile: """represent a file, found during scanning""" def __init__(self, name, size, mtime=0, path=0): @@ -106,14 +109,12 @@ else: pass -import time -t_start = 0 -#_at_staticmethod def timer_start(): global t_start t_start = time.time() + def timer_elapsed(): global t_start _______________________________________________ Opensuse-svn mailing list Opensuse-svn_at_forge.novell.com http://forge.novell.com/mailman/listinfo/opensuse-svn _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on 2009-06-22Z22:36:24
This archive was generated by hypermail 2.2.0 : 2009-07-10Z19:18:13 GMT