fix pylint W0612 (unused-variable)

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:43 +00:00
parent 32f4c8aa17
commit d29fcca6aa
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ def get_current_extension_name() -> str:
import os
callee_filepath = inspect.stack()[1].filename
callee_dirname, callee_filename = os.path.split(callee_filepath)
callee_dirname, _ = os.path.split(callee_filepath)
path = os.path.normpath(callee_dirname)
extension_director_name = path.split(os.sep)[-1]