diff --git a/contrib/pylintrc b/contrib/pylintrc
--- a/contrib/pylintrc
+++ b/contrib/pylintrc
@@ -201,7 +201,7 @@ bad-functions=map,filter,apply,input
 [IMPORTS]
 
 # Deprecated modules which should not be used, separated by a comma
-deprecated-modules=regsub,string,TERMIOS,Bastion,rexec
+deprecated-modules=regsub,TERMIOS,Bastion,rexec
 
 # Create a graph of every (i.e. internal and external) dependencies in the
 # given file (report R0402 must not be disabled)