  
      def runshell(self):
          conn_string = self.connection._connect_string()
          args = [self.executable_name, "-L", conn_string]
          subprocess.check_call(args)
 
</s>
        wrapper_path = shutil.which(self.wrapper_name)
        if wrapper_path:
            args = [wrapper_path, *args]
  
      def runshell(self):
          conn_string = self.connection._connect_string()
          args = [self.executable_name, "-L", conn_string]
        wrapper_path = shutil.which(self.wrapper_name)
        if wrapper_path:
            args = [wrapper_path, *args]
          subprocess.check_call(args)
keep keep keep add keep
 Fixed #29534 -- Made dbshell use rlwrap on Oracle if available.
django/db/backends/oracle/client.py