Skip to content

Commit 0a5d010

Browse files
committed
Remove lines related to using logger which currently isn't actually in use anyways.
1 parent c84011f commit 0a5d010

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Tooltips.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import sublime_plugin
33
import webbrowser
44
import datetime
5-
import logging
65
import hashlib
76
import json
87
import time
@@ -11,8 +10,7 @@
1110

1211
# get the current version of sublime text
1312
CURRENT_VERSION = int(sublime.version()) >= 3080
14-
# logging messeges for debuging
15-
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
13+
1614

1715

1816
class Utilities():
@@ -328,7 +326,6 @@ def on_navigate(self, href):
328326
try:
329327
webbrowser.open_new_tab(href)
330328
except Exception as e:
331-
# logging.error('cannot open link on web browser.')
332329
self.logger_msg += str(e) + '\n'
333330

334331
def get_user_selection(self, sel):
@@ -542,7 +539,6 @@ def search_in_json(self, search_result, file_path):
542539
json_data = self.read_JSON(file_path)
543540
return json_data[search_result]
544541
except Exception as e:
545-
# logging.error('Documentation not exist in: \"%s\"' % file_path)
546542
self.logger_msg += str(e) + '\n'
547543
return {}
548544

0 commit comments

Comments
 (0)