> + try: > + with open(conf_file_path, "r") as conf_file: > + line = conf_file.readline() > + while line: > + match = srv_regexp.match(line) > + if match: > + ret.append(match.group(1)) > + > + line = conf_file.readline() I really thought there was a nicer way to handle exceptions when using the "with" statement, but I can't find anything in a quick search. So, ACK. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list