parameters: (self, info)
docstring: prints cable details
docstring_summary: prints cable details
docstring_tokens: prints cable details
function: def _print_cable_details(self, info):
          """prints cable details"""
  
          cables_found = self._get_cable_details(info)
  
          if len(cables_found) == 1:
              print_string = "Cable:"
              print_string += cables_found[0].type
              print_string += " "
              print_string += str(cables_found[0].length)
              print_string += cables_found[0].unit
  
              print(print_string)
  
          # Bad DOM or unsupported conditions.
          elif len(cables_found) == 0:
              print("Cable:Unknown/unsupported/no cable type found.")
              print("\n       WARNING:Please verify DOM.")
          else:  # len(cables_found) > 1
              print("Cable:More than one cables found. Details: ")
              print("      ", end="")
              for cable_iterator in cables_found:
                  print(
                      cable_iterator.type
                      + " "
                      + str(cable_iterator.length)
                      + cable_iterator.unit
                      + "  ",
                      end="",
                  )
              print("\n      WARNING: Please verify DOM.")
function_tokens: def _print_cable_details ( self , info ) : cables_found = self . _get_cable_details ( info ) if len ( cables_found ) == 1 : print_string = "Cable:" print_string += cables_found [ 0 ] . type print_string += " " print_string += str ( cables_found [ 0 ] . length ) print_string += cables_found [ 0 ] . unit print ( print_string ) # Bad DOM or unsupported conditions. elif len ( cables_found ) == 0 : print ( "Cable:Unknown/unsupported/no cable type found." ) print ( "\n       WARNING:Please verify DOM." ) else : # len(cables_found) > 1 print ( "Cable:More than one cables found. Details: " ) print ( "      " , end = "" ) for cable_iterator in cables_found : print ( cable_iterator . type + " " + str ( cable_iterator . length ) + cable_iterator . unit + "  " , end = "" , ) print ( "\n      WARNING: Please verify DOM." )