SF.net SVN: fclient: [472] trunk/fcp2/src/fcp2/iohandler.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-01 13:36:18
|
Revision: 472
http://fclient.svn.sourceforge.net/fclient/?rev=472&view=rev
Author: jUrner
Date: 2008-07-01 06:35:38 -0700 (Tue, 01 Jul 2008)
Log Message:
-----------
a few fixes
Modified Paths:
--------------
trunk/fcp2/src/fcp2/iohandler.py
Modified: trunk/fcp2/src/fcp2/iohandler.py
===================================================================
--- trunk/fcp2/src/fcp2/iohandler.py 2008-07-01 13:31:48 UTC (rev 471)
+++ trunk/fcp2/src/fcp2/iohandler.py 2008-07-01 13:35:38 UTC (rev 472)
@@ -125,7 +125,7 @@
if p == '':
raise socket.error('Socket closed by host')
except socket.timeout, details:
- raise consts.ErrorIOTimeout(details, consts.ConstLogger.IO.log, consts.DebugVerbosity.Chatty)
+ raise consts.ErrorIOTimeout(details, consts.ConstLogger.IO.log, consts.ConstDebugVerbosity.Chatty)
except socket.error, details:
self.close()
raise consts.ErrorIOBroken(details, consts.ConstLogger.IO.error)
@@ -301,7 +301,7 @@
msgName = p.pop(0)
msgClass = message.MessagesAll.get(msgName, None)
if msgClass is None:
- consts.ConstLogger.IOHandler.debug(consts.ConstLogMessages.CreatingNewMessageType + ' "%s"' % msgClassname)
+ consts.ConstLogger.IOHandler.debug(consts.ConstLogMessages.CreatingNewMessageType + ' "%s"' % msgName)
msgClass = message.newMessageClass(msgName)
msg = msgClass()
@@ -319,7 +319,7 @@
if not isinstance(n, (int, long)):
#HACK:
if hackyInvalidMessageCallback is not None:
- ackyInvalidMessageCallback(msg)
+ hackyInvalidMessageCallback(msg)
raise consts.ErrorMessageParse('DataLength must be type(int)')
if n > 0:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|