diff problem.py @ 74:aea4fc87698a

Minimal code clean-up
author Oleg Oshmyan <chortos@inbox.lv>
date Thu, 06 Jan 2011 20:06:42 +0200
parents 4ea7133ac25c
children 007f7eb6fb2b
line wrap: on
line diff
--- a/problem.py	Thu Jan 06 19:58:45 2011 +0200
+++ b/problem.py	Thu Jan 06 20:06:42 2011 +0200
@@ -93,7 +93,6 @@
 			raise TypeError('Problem() argument 1 must be string, not ' + type(name).__name__)
 		prob.name = name
 		prob.config = config.load_problem(name)
-		if not getattr(prob.config, 'kind', None): prob.config.kind = 'batch'
 		prob.cache = Cache({'padoutput': 0})
 		prob.testcases = testcases.load_problem(prob)