mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-05 09:21:02 +00:00
perf: delete blank line
This commit is contained in:
@@ -178,7 +178,6 @@ class Applet(JMSBaseModel):
|
|||||||
if host_matched:
|
if host_matched:
|
||||||
return random.choice(host_matched)
|
return random.choice(host_matched)
|
||||||
|
|
||||||
|
|
||||||
hosts = [h for h in hosts if h.auto_create_accounts]
|
hosts = [h for h in hosts if h.auto_create_accounts]
|
||||||
prefer_key = self.host_prefer_key_tpl.format(user.id)
|
prefer_key = self.host_prefer_key_tpl.format(user.id)
|
||||||
prefer_host_id = cache.get(prefer_key, None)
|
prefer_host_id = cache.get(prefer_key, None)
|
||||||
|
Reference in New Issue
Block a user