Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117762426
D3448.1775216608.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
470 B
Referenced Files
None
Subscribers
None
D3448.1775216608.diff
View Options
diff --git a/pykolab/logger.py b/pykolab/logger.py
--- a/pykolab/logger.py
+++ b/pykolab/logger.py
@@ -267,8 +267,9 @@
if not self.name.startswith('pykolab') and self.debuglevel != 9:
return
- if level <= self.debuglevel:
- self.log(logging.DEBUG, msg)
+ if type(level) == type(self.debuglevel):
+ if level <= self.debuglevel:
+ self.log(logging.DEBUG, msg)
logging.setLoggerClass(Logger)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 11:43 AM (10 m, 28 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18823878
Default Alt Text
D3448.1775216608.diff (470 B)
Attached To
Mode
D3448: [Python 3] <= between different type error
Attached
Detach File
Event Timeline