From c777b11f68150b9f2e1d76263efc161ba9107d0d Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 15 Mar 2022 15:04:47 +0900 Subject: [PATCH] Remove unused variable definition Trivial-Fix Change-Id: I1abae052352e46c2f40f07978c42b922b60222d6 --- templates/local_settings.py.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/local_settings.py.erb b/templates/local_settings.py.erb index 267cc2bb..a05f6375 100644 --- a/templates/local_settings.py.erb +++ b/templates/local_settings.py.erb @@ -237,7 +237,6 @@ CACHES = { 'BACKEND': '<%= @cache_backend %>', <%- if @cache_server_ip and !(@cache_server_ip.empty?) -%> <%- if @cache_server_ip_real.kind_of?(Array) -%> - <%- split = ":" + @cache_server_port + "','" -%> 'LOCATION': [ <% @cache_server_ip_real.each do |ip| -%>'<%= ip -%>:<%= @cache_server_port -%>',<% end -%> ], <%- else -%> 'LOCATION': '<%= @cache_server_ip_real %>:<%= @cache_server_port %>',