def SplitHostname(hostname):
    """Splits a Wiretap hostname into the server name and its colon-separated
    product type (IFFFS, Gateway, or Backburner).
    
    @param[in] hostname \c{(str)} The Wiretap server's hostname in the form of
                        \c{name:type}.
    
    @return \c{(tuple)} The Wiretap server name followed by the product type,
            if any.
    
    """
    splitHostname = hostname.split(':')
    if len(splitHostname) != 2:
        print("A Wiretap hostname should contain exactly one colon between "
              "the server name and product type.")
    if len(splitHostname) == 1:
        splitHostname.append('')
    return tuple(splitHostname)