--- a/eric6/WebBrowser/CookieJar/CookiesExceptionsDialog.py Wed Sep 25 18:37:35 2019 +0200 +++ b/eric6/WebBrowser/CookieJar/CookiesExceptionsDialog.py Wed Sep 25 18:48:22 2019 +0200 @@ -56,16 +56,16 @@ self.exceptionsTable.verticalHeader().setDefaultSectionSize(height) self.exceptionsTable.verticalHeader().setMinimumSectionSize(-1) for section in range(self.__exceptionsModel.columnCount()): - header = self.exceptionsTable.horizontalHeader()\ - .sectionSizeHint(section) + header = self.exceptionsTable.horizontalHeader().sectionSizeHint( + section) if section == 0: header = fm.width("averagebiglonghost.averagedomain.info") elif section == 1: header = fm.width(self.tr("Allow For Session")) buffer = fm.width("mm") header += buffer - self.exceptionsTable.horizontalHeader()\ - .resizeSection(section, header) + self.exceptionsTable.horizontalHeader().resizeSection( + section, header) def setDomainName(self, domain): """