예제 #1
0
 def backend_version(self):
     return extract_version(
         EasyProcess([PROGRAM,
                      '--version']).call().stdout.replace('-', ' '))
예제 #2
0
 def backend_version(self):
     return extract_version(
         EasyProcess([PROGRAM, '-version']).call().stdout)
 def backend_version(self):
     return extract_version(
         EasyProcess([PROGRAM, "--version"]).call().stdout.replace("-", " ")
     )
예제 #4
0
 def backend_version(self):
     stdout = EasyProcess([PROGRAM, "-version"]).call().stdout
     s = stdout.splitlines()[0]
     return extract_version(s.replace("-", " "))