Author: andar

Revision: 4529

Log:
        Update bencode.py from BitTorrent-5.2.2.  This changes the license to 
Python Software Foundation License Version 2.3.

Diff:
Modified: branches/1.1.0_RC/deluge/bencode.py
===================================================================
--- branches/1.1.0_RC/deluge/bencode.py 2009-01-12 19:55:57 UTC (rev 4528)
+++ branches/1.1.0_RC/deluge/bencode.py 2009-01-12 22:44:27 UTC (rev 4529)
@@ -1,7 +1,7 @@
-# The contents of this file are subject to the BitTorrent Open Source License
-# Version 1.1 (the License).  You may not copy or use this file, in either
-# source code or executable form, except in compliance with the License.  You
-# may obtain a copy of the License at http://www.bittorrent.com/license/.
+# The contents of this file are subject to the Python Software Foundation
+# License Version 2.3 (the License).  You may not copy or use this file, in
+# either source code or executable form, except in compliance with the License.
+# You may obtain a copy of the License at http://www.python.org/license.
 #
 # Software distributed under the License is distributed on an AS IS basis,
 # WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the License
@@ -10,6 +10,8 @@
 
 # Written by Petru Paler
 
+# Minor modifications made by Andrew Resch to replace the BTFailure errors 
with Exceptions
+
 def decode_int(x, f):
     f += 1
     newf = x.index('e', f)

Modified: trunk/deluge/bencode.py
===================================================================
--- trunk/deluge/bencode.py     2009-01-12 19:55:57 UTC (rev 4528)
+++ trunk/deluge/bencode.py     2009-01-12 22:44:27 UTC (rev 4529)
@@ -1,7 +1,7 @@
-# The contents of this file are subject to the BitTorrent Open Source License
-# Version 1.1 (the License).  You may not copy or use this file, in either
-# source code or executable form, except in compliance with the License.  You
-# may obtain a copy of the License at http://www.bittorrent.com/license/.
+# The contents of this file are subject to the Python Software Foundation
+# License Version 2.3 (the License).  You may not copy or use this file, in
+# either source code or executable form, except in compliance with the License.
+# You may obtain a copy of the License at http://www.python.org/license.
 #
 # Software distributed under the License is distributed on an AS IS basis,
 # WITHOUT WARRANTY OF ANY KIND, either express or implied.  See the License
@@ -10,6 +10,8 @@
 
 # Written by Petru Paler
 
+# Minor modifications made by Andrew Resch to replace the BTFailure errors 
with Exceptions
+
 def decode_int(x, f):
     f += 1
     newf = x.index('e', f)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to deluge-commit@googlegroups.com
To unsubscribe from this group, send email to 
deluge-commit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to