Просмотр исходного кода

makewheel: fix binary data being doubled

rdb 8 лет назад
Родитель
Сommit
c1fb44ad69
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      makepanda/makewheel.py

+ 0 - 1
makepanda/makewheel.py

@@ -343,7 +343,6 @@ class WheelFile(object):
                 # Otherwise, just copy it over.
                 temp.write(open(source_path, 'rb').read())
 
-            temp.write(open(source_path, 'rb').read())
             os.fchmod(temp.fileno(), os.fstat(temp.fileno()).st_mode | 0o111)
             temp.close()