##// END OF EJS Templates
vfs: more attribute suppressions...
Augie Fackler -
r43785:da9ecbb1 default
parent child Browse files
Show More
@@ -487,7 +487,9 b' class vfs(abstractvfs):'
487 threading.currentThread(),
487 threading.currentThread(),
488 threading._MainThread, # pytype: disable=module-attr
488 threading._MainThread, # pytype: disable=module-attr
489 ):
489 ):
490 if not self._backgroundfilecloser:
490 if (
491 not self._backgroundfilecloser # pytype: disable=attribute-error
492 ):
491 raise error.Abort(
493 raise error.Abort(
492 _(
494 _(
493 b'backgroundclose can only be used when a '
495 b'backgroundclose can only be used when a '
@@ -495,7 +497,10 b' class vfs(abstractvfs):'
495 )
497 )
496 )
498 )
497
499
498 fp = delayclosedfile(fp, self._backgroundfilecloser)
500 fp = delayclosedfile(
501 fp,
502 self._backgroundfilecloser, # pytype: disable=attribute-error
503 )
499
504
500 return fp
505 return fp
501
506
General Comments 0
You need to be logged in to leave comments. Login now