blob: ade11f443ff464fe5be5c7dab62ab6d18760a39b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- tftpy/TftpServer.py.orig 2016-07-07 08:32:15 UTC
+++ tftpy/TftpServer.py
@@ -53,8 +53,8 @@ class TftpServer(TftpSession):
for name in 'dyn_file_func', 'upload_open':
attr = getattr(self, name)
if attr and not callable(attr):
- raise TftpException, "%s supplied, but it is not callable." % (
- name,)
+ raise TftpException("%s supplied, but it is not callable." % (
+ name))
if os.path.exists(self.root):
log.debug("tftproot %s does exist", self.root)
if not os.path.isdir(self.root):
|