Bug with python highlighting

Issue #24 resolved
Former user created an issue

The following python code fragment causes extra line breaks to be inserted in version 1.6.2 (see attachment):

def find_hostname(hostname): nameparts = str.split(hostname,".") for suffix in ilo_suffixes: ilo_host = [nameparts[0] + "-" + suffix] ilo_host.extend(nameparts[1:]) try: return socket.gethostbyname_ex(".".join(ilo_host)) except socket.gaierror: pass log_error("ILO for %s not found!" % hostname) return [None]

Comments (2)

  1. Holger Schimanski repo owner

    In version 1.6.2 this problem is fixed. See #23 for more details.

    I guess that this is a caching problem. Please restart your browser and reload the page.

  2. Log in to comment