(self, path)
Loading repository encryption key
Loading repository encryption key
Loading repository encryption key
def loadKey(self, path):
        """Loading repository encryption key"""
        try:
            with open(path) as keyFile:
                self.key = keyFile.readline().replace('\n','').replace('\r','')
            logging.info('Successfully loaded encryption key')
            return True
        except:
            logging.warning('Could not load encryption key')
            return False
def loadKey ( self , path ) : try : with open ( path ) as keyFile : self . key = keyFile . readline ( ) . replace ( '\n' , '' ) . replace ( '\r' , '' ) logging . info ( 'Successfully loaded encryption key' ) return True except : logging . warning ( 'Could not load encryption key' ) return False