summaryrefslogtreecommitdiff
path: root/scripts/post-review
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/post-review')
-rwxr-xr-xscripts/post-review3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/post-review b/scripts/post-review
index d2c1335..9f67c9c 100755
--- a/scripts/post-review
+++ b/scripts/post-review
@@ -1455,7 +1455,8 @@ class PerforceClient(SCMClient):
# and the code below expects the outptu to start with
# "Binary files "
if len(dl) == 1 and \
- dl[0] == ('Files %s and %s differ'% (old_file, new_file)):
+ dl[0].startswith('Files %s and %s differ' %
+ (old_file, new_file)):
dl = ['Binary files %s and %s differ'% (old_file, new_file)]
if dl == [] or dl[0].startswith("Binary files "):