Commit fe2c9175 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fix

parent 7aa95913
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -5,7 +5,7 @@ from django.conf import settings
from django.db import models
from django.db import models
from django.contrib.auth.models import User, Group
from django.contrib.auth.models import User, Group
from django.utils import timezone
from django.utils import timezone
from .utils import os_shell, color_map, hash_string_to_int, get_task_tunnel_host
from .utils import os_shell, color_map, hash_string_to_int, get_rosetta_tasks_tunnel_host
from .exceptions import ConsistencyException
from .exceptions import ConsistencyException


if 'sqlite' in settings.DATABASES['default']['ENGINE']:
if 'sqlite' in settings.DATABASES['default']['ENGINE']:
@@ -356,7 +356,7 @@ class Task(models.Model):
    
    
    @property
    @property
    def tcp_tunnel_host(self):
    def tcp_tunnel_host(self):
        return get_task_tunnel_host()
        return get_rosetta_tasks_tunnel_host()