[arch-projects] [namcap][PATCH 2/3] util: remove unused clean_filename

Jelle van der Waa jelle at vdwaa.nl
Thu Jul 5 20:28:30 UTC 2018


By removing the unused imports for clean_filename this function is now
unused.
---
 Namcap/util.py | 2 --
 1 file changed, 2 deletions(-)

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:
-- 
2.18.0


More information about the arch-projects mailing list