hgext/remotefilelog/remotefilelog.py
changeset 41251 beb0d944a99b
parent 40613 9769e0f6ffe0
child 41365 876494fd967d
--- a/hgext/remotefilelog/remotefilelog.py	Wed Jan 16 10:57:38 2019 -0500
+++ b/hgext/remotefilelog/remotefilelog.py	Wed Jan 16 10:58:09 2019 -0500
@@ -196,6 +196,8 @@
     def __nonzero__(self):
         return True
 
+    __bool__ = __nonzero__
+
     def __len__(self):
         if self.filename == '.hgtags':
             # The length of .hgtags is used to fast path tag checking.