def p4_version_string():
 global _p4_version_string
 if (not _p4_version_string):
  a = p4_read_pipe_lines(['-V'])
  _p4_version_string = a[(-1)].rstrip()
 return _p4_version_string

def p4_version_string ( ) : global _p4_version_string if ( not _p4_version_string ) : a = p4_read_pipe_lines ( [ '-V' ] ) _p4_version_string = a [ ( - 1 ) ] . rstrip ( ) return _p4_version_string
read the version string .