--- a/eric6/PipInterface/PipFreezeDialog.py Mon Sep 09 18:52:08 2019 +0200 +++ b/eric6/PipInterface/PipFreezeDialog.py Thu Oct 03 11:12:10 2019 +0200 @@ -7,17 +7,13 @@ Module implementing a dialog to generate a requirements file. """ -from __future__ import unicode_literals -try: - str = unicode # __IGNORE_EXCEPTION__ -except NameError: - pass import os from PyQt5.QtCore import pyqtSlot, Qt -from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QAbstractButton, \ - QApplication +from PyQt5.QtWidgets import ( + QDialog, QDialogButtonBox, QAbstractButton, QApplication +) from E5Gui import E5MessageBox, E5FileDialog from E5Gui.E5PathPicker import E5PathPickerModes