Revision a744b676 lib/jqueue.py

b/lib/jqueue.py
53 53
from ganeti import utils
54 54
from ganeti import jstore
55 55
from ganeti import rpc
56
from ganeti import netutils
56 57

  
57 58

  
58 59
JOBQUEUE_THREADS = 25
......
762 763
    """
763 764
    self.context = context
764 765
    self._memcache = weakref.WeakValueDictionary()
765
    self._my_hostname = utils.HostInfo().name
766
    self._my_hostname = netutils.HostInfo().name
766 767

  
767 768
    # The Big JobQueue lock. If a code block or method acquires it in shared
768 769
    # mode safe it must guarantee concurrency with all the code acquiring it in

Also available in: Unified diff