Changeset db8d3f547aa0…
Parent c1a754986c3b…
by
Changes to one file · Browse files at db8d3f547aa0 Showing diff from parent c1a754986c3b Diff from another changeset...
@@ -304,7 +304,7 @@ else:
self.contents = olddata
self.flabel += _(' <i>(was deleted)</i>')
- elif ctx.p1().hasBfile(wfile):
+ elif hasattr(ctx.p1(), 'hasBfile') and ctx.p1().hasBfile(wfile):
self.error = 'binary file'
self.flabel += _(' <i>(was deleted)</i>')
else:
|
Loading...