remove end of file banner from all files

This commit is contained in:
homm 2016-07-04 02:50:05 +03:00
parent 5ece454d1f
commit 1ba4e9e5ba
144 changed files with 2 additions and 289 deletions

View File

@ -111,5 +111,3 @@ class FontFile(object):
else:
puti16(fp, m[0] + m[1] + m[2])
fp.close()
# End of file

View File

@ -2521,5 +2521,3 @@ def effect_noise(size, sigma):
:param sigma: Standard deviation of noise.
"""
return Image()._new(core.effect_noise(size, sigma))
# End of file

View File

@ -969,5 +969,3 @@ if __name__ == "__main__":
print(doc)
except (AttributeError, TypeError):
pass
# End of file

View File

@ -380,5 +380,3 @@ def floodfill(image, xy, value, border=None):
pixel[s, t] = value
newedge.append((s, t))
edge = newedge
# End of file

View File

@ -433,5 +433,3 @@ Gc/eeW7BwPj5+QGZhANUswMAAAD//2JgqGBgYGBgqEMXlvhMPUsAAAAA//8iYDd1AAAAAP//AwDR
w7IkEbzhVQAAAABJRU5ErkJggg==
'''))))
return f
# End of file

View File

@ -268,5 +268,3 @@ def eval(expression, _dict={}, **kw):
return out.im
except AttributeError:
return out
# End of file

View File

@ -48,5 +48,3 @@ def getmode(mode):
_modes["I;16L"] = ModeDescriptor("I;16L", "I", "L", "L")
_modes["I;16B"] = ModeDescriptor("I;16B", "I", "L", "L")
return _modes[mode]
# End of file

View File

@ -247,5 +247,3 @@ class MorphOp(object):
def set_lut(self, lut):
"""Set the lut from an external source"""
self.lut = lut
# End of file

View File

@ -58,5 +58,3 @@ class Path(object):
# override with C implementation
Path = Image.core.path
# End of file

View File

@ -174,5 +174,3 @@ else:
if __name__ == "__main__":
# usage: python ImageShow.py imagefile [title]
print(show(Image.open(sys.argv[1]), *sys.argv[2:]))
# End of file

View File

@ -286,5 +286,3 @@ def _show(image, title):
if title:
top.title(title)
UI(top, image).pack()
# End of file

View File

@ -96,5 +96,3 @@ class MeshTransform(Transform):
@see Image#Image.transform
"""
method = Image.MESH
# End of file

View File

@ -233,5 +233,3 @@ class ImageWindow(Window):
def ui_handle_repair(self, dc, x0, y0, x1, y1):
self.image.draw(dc, (x0, y0, x1, y1))
# End of file

View File

@ -317,5 +317,3 @@ def new(img, readonly=False):
logger.debug("PyAccess Not Implemented: %s", img.mode)
return None
return access_type(img, readonly)
# End of file

View File

@ -85,5 +85,3 @@ Image.register_extension(SgiImageFile.format, ".bw")
Image.register_extension(SgiImageFile.format, ".rgb")
Image.register_extension(SgiImageFile.format, ".rgba")
Image.register_extension(SgiImageFile.format, ".sgi")
# End of file

View File

@ -72,5 +72,3 @@ def o16be(i):
def o32be(i):
return pack(">I", i)
# End of file

View File

@ -14,5 +14,3 @@ if __name__ == "__main__":
print("''')), Image.open(BytesIO(base64.decodestring(b'''")
base64.encode(open(font + ".pbm", "rb"), sys.stdout)
print("'''))))")
# End of file

View File

@ -56,5 +56,3 @@ class BenchCffiAccess(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -35,5 +35,3 @@ class LargeMemoryTest(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -41,5 +41,3 @@ class LargeMemoryNumpyTest(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -238,5 +238,3 @@ if sys.platform == 'win32':
IMCONVERT = os.path.join(IMCONVERT, 'convert.exe')
else:
IMCONVERT = 'convert'
# End of file

View File

@ -28,5 +28,3 @@ class TestSanity(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -25,5 +25,3 @@ class TestBinary(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -90,5 +90,3 @@ class TestBmpReference(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -233,5 +233,3 @@ class TestBoxBlur(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -41,5 +41,3 @@ class TestDecompressionBomb(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -31,5 +31,3 @@ class TestFeatures(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -80,5 +80,3 @@ class TestFileBmp(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -15,5 +15,3 @@ class TestFileBufrStub(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -32,5 +32,3 @@ class TestFileCur(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -63,5 +63,3 @@ class TestFileDcx(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -95,5 +95,3 @@ class TestFileDds(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -63,7 +63,7 @@ class TestFileEps(PillowTestCase):
self.assertEqual(cmyk_image.mode, "CMYK")
self.assertEqual(cmyk_image.size, (100, 100))
self.assertEqual(cmyk_image.format, "EPS")
cmyk_image.load()
self.assertEqual(cmyk_image.mode, "RGB")
@ -267,5 +267,3 @@ class TestFileEps(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -15,5 +15,3 @@ class TestFileFitsStub(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -44,5 +44,3 @@ class TestFileFli(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -19,5 +19,3 @@ class TestFileFpx(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -20,5 +20,3 @@ class TestFileGbr(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -309,5 +309,3 @@ class TestFileGif(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -123,5 +123,3 @@ class TestImage(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -32,5 +32,3 @@ class TestImage(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -15,5 +15,3 @@ class TestFileGribStub(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -15,5 +15,3 @@ class TestFileHdf5Stub(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -86,5 +86,3 @@ class TestFileIcns(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -52,5 +52,3 @@ class TestFileIco(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -49,5 +49,3 @@ class TestFileIm(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -63,5 +63,3 @@ class TestFileIptc(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -453,5 +453,3 @@ class TestFileJpeg(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -185,5 +185,3 @@ class TestFileJpeg2k(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -507,5 +507,3 @@ class TestFileLibTiff(LibTiffTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -50,5 +50,3 @@ class TestFileLibTiffSmall(LibTiffTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -15,5 +15,3 @@ class TestFileMcIdas(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -19,5 +19,3 @@ class TestFileMic(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -141,5 +141,3 @@ class TestFileMpo(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -44,5 +44,3 @@ class TestFileMsp(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -56,5 +56,3 @@ class TestFilePalm(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -49,5 +49,3 @@ class TestFilePcx(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -77,5 +77,3 @@ class TestFilePdf(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -502,5 +502,3 @@ class TestFilePng(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -46,5 +46,3 @@ class TestFilePpm(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -47,5 +47,3 @@ class TestImagePsd(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -42,5 +42,3 @@ class TestFileSgi(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -100,5 +100,3 @@ class TestImageSpider(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -23,5 +23,3 @@ class TestFileSun(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -34,5 +34,3 @@ class TestFileTar(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -473,5 +473,3 @@ class TestFileTiff(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -211,5 +211,3 @@ class TestFileTiffMetadata(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -80,5 +80,3 @@ class TestFileWebp(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -93,5 +93,3 @@ class TestFileWebpAlpha(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -39,5 +39,3 @@ class TestFileWebpLossless(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -110,5 +110,3 @@ class TestFileWebpMetadata(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -64,5 +64,3 @@ class TestFileXbm(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -38,5 +38,3 @@ class TestFileXpm(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -22,5 +22,3 @@ class TestFontBdf(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -64,5 +64,3 @@ class TestFontPcf(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -166,5 +166,3 @@ class TestFormatHSV(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -44,5 +44,3 @@ class TestFormatLab(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -239,5 +239,3 @@ class TestImage(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -44,5 +44,3 @@ class TestImageArray(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -135,5 +135,3 @@ class TestImageConvert(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -35,5 +35,3 @@ class TestImageCopy(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -69,5 +69,3 @@ class TestImageCrop(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -35,5 +35,3 @@ class TestImageDraft(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -97,5 +97,3 @@ class TestImageFilter(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -14,5 +14,3 @@ class TestImageFromBytes(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -46,5 +46,3 @@ class TestFromQImage(PillowQtTestCase, PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -30,5 +30,3 @@ class TestFromQPixmap(PillowQPixmapTestCase, PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -22,5 +22,3 @@ class TestImageGetBands(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -41,5 +41,3 @@ class TestImageGetBbox(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -69,5 +69,3 @@ class TestImageGetColors(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -31,5 +31,3 @@ class TestImageGetData(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -23,5 +23,3 @@ class TestImageGetExtrema(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -22,5 +22,3 @@ class TestImageGetIm(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -22,5 +22,3 @@ class TestImageGetPalette(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -34,5 +34,3 @@ class TestImageGetProjection(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -22,5 +22,3 @@ class TestImageHistogram(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -31,5 +31,3 @@ class TestImageLoad(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -55,5 +55,3 @@ class TestImageMode(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -38,5 +38,3 @@ class TestImagePoint(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -48,5 +48,3 @@ class TestImagePutAlpha(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

View File

@ -86,5 +86,3 @@ class TestImagePutData(PillowTestCase):
if __name__ == '__main__':
unittest.main()
# End of file

Some files were not shown because too many files have changed in this diff Show More