Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F16550859
D3448.id9856.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
470 B
Referenced Files
None
Subscribers
None
D3448.id9856.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
Wed, Oct 30, 1:54 PM (1 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10063143
Default Alt Text
D3448.id9856.diff (470 B)
Attached To
Mode
D3448: [Python 3] <= between different type error
Attached
Detach File
Event Timeline
Log In to Comment