Update of /cvsroot/todo-manager/todo-manager
In directory sc8-pr-cvs1:/tmp/cvs-serv7333
Modified Files:
main.py
Log Message:
Jon Lockley is having a weird error with getdefaultlocale. This should
resolve it.
Index: main.py
===================================================================
RCS file: /cvsroot/todo-manager/todo-manager/main.py,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- main.py 4 May 2003 15:38:09 -0000 1.80
+++ main.py 14 May 2003 01:55:04 -0000 1.81
@@ -16,7 +16,7 @@
if not os.environ.has_key('LANG') and lang:
os.environ['LANG'] = lang
-except (locale.Error, ValueError):
+except (locale.Error, AttributeError, ValueError):
pass
from __init__ import *
|