[svn r64263] fix failing test on windows

--HG--
branch : trunk
This commit is contained in:
hpk 2009-04-17 13:40:13 +02:00
parent b3e22554d7
commit 945c72ddf3
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class Syslog:
for priority in "LOG_EMERG LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG".split(): for priority in "LOG_EMERG LOG_ALERT LOG_CRIT LOG_ERR LOG_WARNING LOG_NOTICE LOG_INFO LOG_DEBUG".split():
try: try:
exec("%s = py.std.syslog.%s" % (priority, priority)) exec("%s = py.std.syslog.%s" % (priority, priority))
except AttributeError: except ImportError:
pass pass
def __init__(self, priority = None): def __init__(self, priority = None):