Allura/allura/model/repository.py
def hex(self):
        '''Compute a recursive sha1 hash on the tree'''
        # dependent on __repr__ below
        if self._hex is None:
            sha_obj = sha1('tree\n' + repr(self))
            self._hex = sha_obj.hexdigest()
        return self._hex
Compute a recursive sha1 hash on the tree
Compute a recursive sha1 hash on the tree
Compute a recursive sha1 hash on the tree
def hex(self):
        if self._hex is None:
            sha_obj = sha1('tree\n' + repr(self))
            self._hex = sha_obj.hexdigest()
        return self._hex
def hex ( self ) : if self . _hex is None : sha_obj = sha1 ( 'tree\n' + repr ( self ) ) self . _hex = sha_obj . hexdigest ( ) return self . _hex
Compute a recursive sha1 hash on the tree
Compute a recursive sha1 hash on the tree
'''Compute a recursive sha1 hash on the tree''' # dependent on __repr__ below
self