------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4932/
------------------------------------------------------------------------------
New update by dkmorgan
For Beanbag, Inc. > Review Board > Ticket #4932
Reply:
Hi, I ran into the same issue with a simple diff (attached) on 4.0.3.
if parsed_file.modified_file_details is not None and
parsed_file.modified_file_details.endswith(b'(nonexistent)'):
also works for me as a workaround.
This error occurs on linenum=4 started with "@@", just after the first
parse of diff header.
The line is not distinguished as "is_diff_header" by the DiffParser class
and modified_file_details remains None. However SVNDiffParser tries to invoke
modified_file_details.endswith() and results in an AttributeError exception.
Files:
- main.c.patch
<https://hellosplat.com/s/beanbag/attachments/1385/>
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/reviewboard-issues/20210716080249.23127.91226%40ip-10-1-54-209.ec2.internal.