eric6/CondaInterface/Conda.py

changeset 7250
d8bdc55aee1a
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/CondaInterface/Conda.py	Thu Sep 19 19:39:04 2019 +0200
+++ b/eric6/CondaInterface/Conda.py	Sat Sep 21 13:03:17 2019 +0200
@@ -71,8 +71,8 @@
         ok, resultDict = dlg.getResult()
         
         if ok:
-            if "actions" in resultDict and \
-                    "PREFIX" in resultDict["actions"]:
+            if ("actions" in resultDict and
+                    "PREFIX" in resultDict["actions"]):
                 prefix = resultDict["actions"]["PREFIX"]
             elif "prefix" in resultDict:
                 prefix = resultDict["prefix"]
@@ -502,8 +502,8 @@
             raise RuntimeError("One of 'name' or 'prefix' must be given.")
         
         if packages:
-            from UI.DeleteFilesConfirmationDialog import \
-                DeleteFilesConfirmationDialog
+            from UI.DeleteFilesConfirmationDialog import (
+                DeleteFilesConfirmationDialog)
             dlg = DeleteFilesConfirmationDialog(
                 self.parent(),
                 self.tr("Uninstall Packages"),

eric ide

mercurial