Make JCL work with Python 2.6

Ignore-this: 4d3c82c41facd7129e198c84f6bea0c8

darcs-hash:20090630172004-86b55-3b406a1d347855ea362ab33ce0872a7e52608cf3.gz
This commit is contained in:
David Rousselie
2009-06-30 19:20:04 +02:00
parent f1509d66da
commit 24f81d1e90
2 changed files with 8 additions and 9 deletions

View File

@@ -4,18 +4,18 @@
## Login : David Rousselie <dax@happycoders.org>
## Started on Wed Aug 9 21:37:35 2006 David Rousselie
## $Id$
##
##
## Copyright (C) 2006 David Rousselie
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@@ -44,8 +44,7 @@ if __name__ == '__main__':
class MyTestProgram(unittest.TestProgram):
def runTests(self):
"""run tests but do not exit after"""
if self.testRunner is None:
self.testRunner = unittest.TextTestRunner(verbosity=self.verbosity)
self.testRunner = unittest.TextTestRunner(verbosity=self.verbosity)
self.testRunner.run(self.test)
logger = logging.getLogger()