File: FTBFS.patch

package info (click to toggle)
python-rencode 1.0.6-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 244 kB
  • sloc: python: 777; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 305 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/rencode/rencode.pyx
+++ b/rencode/rencode.pyx
@@ -275,7 +275,7 @@
 
 cdef encode(char **buf, unsigned int *pos, data):
     t = type(data)
-    if t == int or t == long:
+    if t == int:
         if -128 <= data < 128:
             encode_char(buf, pos, data)
         elif -32768 <= data < 32768: