remove unecessary loggings, change less important loggings to logging.debug
This commit is contained in:
parent
09397925e8
commit
60dd7691bf
6 changed files with 1 additions and 13 deletions
|
@ -2,7 +2,6 @@
|
|||
copy service config dialog
|
||||
"""
|
||||
|
||||
import logging
|
||||
import tkinter as tk
|
||||
from tkinter import ttk
|
||||
from typing import TYPE_CHECKING, Any, Tuple
|
||||
|
@ -91,7 +90,6 @@ class CopyServiceConfigDialog(Dialog):
|
|||
button.grid(row=0, column=2, sticky="ew", padx=PADX)
|
||||
|
||||
def click_copy(self):
|
||||
logging.debug("click copy")
|
||||
selected = self.tree.selection()
|
||||
if selected:
|
||||
item = self.tree.item(selected[0])
|
||||
|
|
|
@ -253,7 +253,6 @@ class CustomNodesDialog(Dialog):
|
|||
if self.selected and self.selected in self.app.core.custom_nodes:
|
||||
self.nodes_list.listbox.delete(self.selected_index)
|
||||
del self.app.core.custom_nodes[self.selected]
|
||||
logging.debug("Delete custom node (%s)", self.selected)
|
||||
self.reset_values()
|
||||
self.nodes_list.listbox.selection_clear(0, tk.END)
|
||||
self.nodes_list.listbox.event_generate("<<ListboxSelect>>")
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
"""
|
||||
emane configuration
|
||||
"""
|
||||
import logging
|
||||
import tkinter as tk
|
||||
import webbrowser
|
||||
from tkinter import ttk
|
||||
|
@ -223,7 +222,6 @@ class EmaneConfigDialog(Dialog):
|
|||
draw emane model configuration
|
||||
"""
|
||||
model_name = self.emane_model.get()
|
||||
logging.info("configuring emane model: %s", model_name)
|
||||
dialog = EmaneModelDialog(
|
||||
self, self.app, self.canvas_node.core_node, model_name
|
||||
)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
"""
|
||||
link configuration
|
||||
"""
|
||||
import logging
|
||||
import tkinter as tk
|
||||
from tkinter import ttk
|
||||
from typing import TYPE_CHECKING, Union
|
||||
|
@ -248,7 +247,6 @@ class LinkConfigurationDialog(Dialog):
|
|||
self.color_button.config(background=color)
|
||||
|
||||
def click_apply(self):
|
||||
logging.debug("click apply")
|
||||
self.app.canvas.itemconfigure(self.edge.id, width=self.width.get())
|
||||
self.app.canvas.itemconfigure(self.edge.id, fill=self.color.get())
|
||||
link = self.edge.link
|
||||
|
@ -324,8 +322,6 @@ class LinkConfigurationDialog(Dialog):
|
|||
self.destroy()
|
||||
|
||||
def change_symmetry(self):
|
||||
logging.debug("change symmetry")
|
||||
|
||||
if self.is_symmetric:
|
||||
self.is_symmetric = False
|
||||
self.symmetry_var.set("<<")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue