eric6/PipInterface/PipFreezeDialog.py

branch
maintenance
changeset 7286
7eb04391adf7
parent 6989
8b8cadf8d7e9
parent 7255
d595f6f9cbf8
child 7362
028bf21bb5a2
--- 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

eric ide

mercurial