equal
deleted
inserted
replaced
69 raise VMMError(err.strip(), ERR.VMM_ERROR) |
69 raise VMMError(err.strip(), ERR.VMM_ERROR) |
70 return out.strip() |
70 return out.strip() |
71 |
71 |
72 def __readMulti(self, parameters): |
72 def __readMulti(self, parameters): |
73 cmd = [self.__bin] |
73 cmd = [self.__bin] |
74 for parameter in parameters: |
74 cmd.extend(parameter[1:] for parameter in parameters) |
75 cmd.append(parameter[1:]) |
|
76 out, err = Popen(cmd, stdout=PIPE, stderr=PIPE).communicate() |
75 out, err = Popen(cmd, stdout=PIPE, stderr=PIPE).communicate() |
77 if len(err): |
76 if len(err): |
78 raise VMMError(err.strip(), ERR.VMM_ERROR) |
77 raise VMMError(err.strip(), ERR.VMM_ERROR) |
79 par_val = {} |
78 par_val = {} |
80 for line in out.splitlines(): |
79 for line in out.splitlines(): |