s3transfer/utils.py
def decrement(self):
        """Decrement the count by one"""
        with self._lock:
            if self._count == 0:
                raise RuntimeError(
                    'Counter is at zero. It cannot dip below zero')
            self._count -= 1
            if self._is_finalized and self._count == 0:
                self._callback()
def decrement(self):
        with self._lock:
            if self._count == 0:
                raise RuntimeError(
                    'Counter is at zero. It cannot dip below zero')
            self._count -= 1
            if self._is_finalized and self._count == 0:
                self._callback()
def decrement ( self ) : with self . _lock : if self . _count == 0 : raise RuntimeError ( 'Counter is at zero. It cannot dip below zero' ) self . _count -= 1 if self . _is_finalized and self . _count == 0 : self . _callback ( )
Decrement the count by one
Decrement the count by one