Changeset 5b5b03863da0…
Parent f0179326f34e…
by
Changes to one file · Browse files at 5b5b03863da0 Showing diff from parent f0179326f34e Diff from another changeset...
@@ -303,7 +303,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...