From 8b82a9d61ffb112e7d49c88bc2116f9197b73358 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Fri, 8 May 2009 00:30:18 +0000 Subject: [PATCH] pulled in temp fix from branch for _strptime crash --- direct/src/showbase/PythonUtil.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/direct/src/showbase/PythonUtil.py b/direct/src/showbase/PythonUtil.py index acfcc992f8..59b7f36517 100644 --- a/direct/src/showbase/PythonUtil.py +++ b/direct/src/showbase/PythonUtil.py @@ -3867,6 +3867,8 @@ def isInteger(n): return type(n) in (types.IntType, types.LongType) def configIsToday(configName): + # TODO: replace usage of strptime with something else + return False # returns true if config string is a valid representation of today's date today = time.localtime() confStr = config.GetString(configName, '')