Kaydet (Commit) 1321c444 authored tarafından Vinay Sajip's avatar Vinay Sajip

Closes #15710: accept long in _checkLevel.

üst a116df0f
......@@ -180,7 +180,7 @@ def addLevelName(level, levelName):
_releaseLock()
def _checkLevel(level):
if isinstance(level, int):
if isinstance(level, (int, long)):
rv = level
elif str(level) == level:
if level not in _levelNames:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment