[namcap,2/3] util: remove unused clean_filename

Message ID 20180705202831.3704-3-jelle@vdwaa.nl
State Accepted
Headers show
Series
  • [namcap,1/3] tree-wide: remove unused imports
Related show

Commit Message

Jelle van der Waa July 5, 2018, 8:28 p.m. UTC
By removing the unused imports for clean_filename this function is now
unused.
---
 Namcap/util.py | 2 --
 1 file changed, 2 deletions(-)

Patch

diff --git a/Namcap/util.py b/Namcap/util.py
index 68e3878..ecf8b44 100644
--- a/Namcap/util.py
+++ b/Namcap/util.py
@@ -60,6 +60,4 @@  def script_type(fileobj):
 		name = cmd[1]
 	return name
 
-clean_filename = lambda s: re.search(r"/tmp/namcap\.[0-9]*/(.*)", s).group(1)
-
 # vim: set ts=4 sw=4 noet: