From aa4027298f5db848e832d7031f4c9cbe260c5b78 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 13 Jun 2019 17:59:25 +0200 Subject: [PATCH] do not "import *" --- electrum/gui/qt/lightning_dialog.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/electrum/gui/qt/lightning_dialog.py b/electrum/gui/qt/lightning_dialog.py index 90b669e4f..3cc3fff44 100644 --- a/electrum/gui/qt/lightning_dialog.py +++ b/electrum/gui/qt/lightning_dialog.py @@ -23,12 +23,10 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -import socket - -from PyQt5.QtGui import * -from PyQt5.QtCore import * -from PyQt5.QtWidgets import * -import PyQt5.QtCore as QtCore +from PyQt5.QtGui import QStandardItemModel, QStandardItem +from PyQt5.QtCore import Qt +from PyQt5.QtWidgets import (QDialog, QWidget, QLabel, QVBoxLayout, QCheckBox, + QGridLayout, QPushButton, QLineEdit, QTabWidget) from electrum.i18n import _ from .util import HelpLabel, MyTreeView, Buttons