Revision fc3f75dd lib/watcher/__init__.py

b/lib/watcher/__init__.py
51 51
from ganeti import ht
52 52

  
53 53
import ganeti.rapi.client # pylint: disable=W0611
54
from ganeti.rapi.client import UsesRapiClient
54 55

  
55 56
from ganeti.watcher import nodemaint
56 57
from ganeti.watcher import state
......
569 570
    raise NotMasterError("This is not the master node")
570 571

  
571 572

  
572
@rapi.client.UsesRapiClient
573
@UsesRapiClient
573 574
def _GlobalWatcher(opts):
574 575
  """Main function for global watcher.
575 576

  

Also available in: Unified diff