Removing trailing whitespace

master
Michael P. Soulier 2012-10-04 08:28:55 -04:00
parent 47c0eda6d2
commit 3e0a967133
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class TftpServer(TftpSession):
# A dict of sessions, where each session is keyed by a string like
# ip:tid for the remote end.
self.sessions = {}
if self.dyn_file_func:
if not callable(self.dyn_file_func):
raise TftpException, "A dyn_file_func supplied, but it is not callable."