def __GetLocalViews(self):
        """
        Return a list with all local view.
        """

        import socket
        
        myClearCaseCommand = 'cleartool lsview'
        myHostName = string.lower(socket.gethostname())
        
        myListLocalView = []

        (mystdIn, myStdOut) = popen2.popen2(myClearCaseCommand)
        for myLine in mystdIn:
            myLowerLine = string.lower(myLine)
            myStartHostName = string.find(myLowerLine, myHostName)
            
            if myStartHostName != -1:
                myLocalView = myLine[2:myStartHostName-2]
                myListLocalView.append(string.strip(myLocalView))
                
        self.__StartViews(myListLocalView)
                
        return myListLocalView
        
        return

        Return a list with all local view.
        
recipes/Python/302477_Private_clearcase__views_backup/recipe-302477.py