patchutils.py: Remove is_binary() function.

This commit is contained in:
Sebastian Lackner
2016-04-02 23:13:01 +02:00
parent a3ecf01ce2
commit f21f134546
2 changed files with 7 additions and 10 deletions

View File

@ -314,7 +314,7 @@ def contains_binary_patch(all_patches, indices, filename):
"""Checks if any patch with given indices affecting filename is a binary patch."""
for i in indices:
for patch in all_patches[i].patches:
if patch.modified_file == filename and patch.is_binary():
if patch.modified_file == filename and patch.is_binary:
return True
return False