Revision 944bf548 lib/backend.py

b/lib/backend.py
1948 1948
        logging.error("Disk import command '%s' returned error: %s"
1949 1949
                      " output: %s", command, result.fail_reason,
1950 1950
                      result.output)
1951
        final_result.append(False)
1952
      else:
1953
        final_result.append(True)
1954
    else:
1955
      final_result.append(True)
1951
        final_result.append("error importing disk %d: %s, %s" %
1952
                            (idx, result.fail_reason, result.output[-100]))
1956 1953

  
1957
  return final_result
1954
  if final_result:
1955
    return False, "; ".join(final_result)
1956
  return True, None
1958 1957

  
1959 1958

  
1960 1959
def ListExports():

Also available in: Unified diff