parameters: (self)
docstring: Show an "are you sure?" prompt if there are unknown files.
docstring_summary: Show an "are you sure?" prompt if there are unknown files.
docstring_tokens: Show an are you sure? prompt if there are unknown files .
function: def CheckForUnknownFiles(self):
      """Show an "are you sure?" prompt if there are unknown files."""
      unknown_files = self.GetUnknownFiles()
      if unknown_files:
        print "The following files are not added to version control:"
        for line in unknown_files:
          print line
        prompt = "Are you sure to continue?(y/N) "
        answer = raw_input(prompt).strip()
        if answer != "y":
          ErrorExit("User aborted")
function_tokens: def CheckForUnknownFiles ( self ) : unknown_files = self . GetUnknownFiles ( ) if unknown_files : print "The following files are not added to version control:" for line in unknown_files : print line prompt = "Are you sure to continue?(y/N) " answer = raw_input ( prompt ) . strip ( ) if answer != "y" : ErrorExit ( "User aborted" )