Tagging 0.4.5.

git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/tags/release-0.4.5@85 63283fd4-ec1e-0410-9879-cb7f675518da
This commit is contained in:
msoulier 2008-05-28 23:59:07 +00:00
parent 70f22b1ca1
commit 33b135348f
4 changed files with 42 additions and 5 deletions

View file

@ -1,3 +1,31 @@
2008-05-20 02:20 msoulier
* tftpy/TftpServer.py: Fix for [ 1932310 ] security check always
fail for windows.
2008-05-20 02:12 msoulier
* tftpy/TftpClient.py: Fixed division by zero error in rate
calculations in download function of
client. Thanks to Stefaan Vanheesbeke for the report.
2008-05-20 02:00 msoulier
* tftpy/TftpServer.py: Fix for bug [ 1932330 ] binary downloads
fail in Windows.
2008-01-31 02:27 msoulier
* README: Updated README.
2008-01-31 02:21 msoulier
* ChangeLog: Updated ChangeLog
2008-01-31 02:21 msoulier
* setup.py: Updating version to 0.4.4
2007-12-16 15:48 msoulier
* tftpy/TftpServer.py: Fixing 1851544 - server not tolerant of

13
README
View file

@ -1,5 +1,9 @@
Copyright, Michael P. Soulier, 2006.
About Release 0.4.5:
====================
Bugfix release for compatability issues on Win32, among other small issues.
About Release 0.4.4:
====================
Bugfix release for poor tolerance of unsupported options in the server.
@ -57,7 +61,7 @@ easy inclusion in a UI for populating progress indicators. It supports RFCs
Dependencies:
-------------
This library was developed against Python 2.3.
This library was developed against Python 2.3+.
Trifles:
--------
@ -75,7 +79,12 @@ Limitations:
- Only 'octet' mode is supported
- The only option supported is blksize
Future:
-------
- Upload support
- netascii support
- More complete test harness
Author:
=======
Michael P. Soulier <msoulier@digitaltorque.ca>

View file

@ -3,7 +3,7 @@
from distutils.core import setup
setup(name='tftpy',
version='0.4.4',
version='0.4.5',
description='Python TFTP library',
author='Michael P. Soulier',
author_email='msoulier@digitaltorque.ca',
@ -15,7 +15,7 @@ setup(name='tftpy',
'License :: OSI Approved :: CNRI Python License',
'Topic :: Networking :: TFTP',
'Intended Audience :: Developers',
'Operating System :: POSIX',
'Operating System :: Any',
'Environment :: Console',
]
)

View file

@ -20,7 +20,7 @@ class TftpSession(object):
% (errorcode, address, port))
errpkt = TftpPacketERR()
errpkt.errorcode = errorcode
self.sock.sendto(errpkt.encode().buffer, (address, port))
sock.sendto(errpkt.encode().buffer, (address, port))
class TftpPacketWithOptions(object):
"""This class exists to permit some TftpPacket subclasses to share code