mercurial/revlog.py
changeset 47413 5e44936b82be
parent 47402 f7f082bc0e7c
child 47414 5fbac82a8780
equal deleted inserted replaced
47412:c887bab2dccf 47413:5e44936b82be
  2241             finally:
  2241             finally:
  2242                 self._writinghandles = None
  2242                 self._writinghandles = None
  2243                 if dfh is not None:
  2243                 if dfh is not None:
  2244                     dfh.close()
  2244                     dfh.close()
  2245                 if sdfh is not None:
  2245                 if sdfh is not None:
  2246                     dfh.close()
  2246                     sdfh.close()
  2247                 # closing the index file last to avoid exposing referent to
  2247                 # closing the index file last to avoid exposing referent to
  2248                 # potential unflushed data content.
  2248                 # potential unflushed data content.
  2249                 if ifh is not None:
  2249                 if ifh is not None:
  2250                     ifh.close()
  2250                     ifh.close()
  2251 
  2251