Revision fc3f75dd

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

  
b/qa/ganeti-qa.py
48 48
from ganeti import constants
49 49

  
50 50
import ganeti.rapi.client # pylint: disable=W0611
51
from ganeti.rapi.client import UsesRapiClient
51 52

  
52 53

  
53 54
def _FormatHeader(line, end=72):
......
544 545
  RunTestIf("cluster-destroy", qa_cluster.TestClusterDestroy)
545 546

  
546 547

  
547
@rapi.client.UsesRapiClient
548
@UsesRapiClient
548 549
def main():
549 550
  """Main program.
550 551

  
b/tools/move-instance
1 1
#!/usr/bin/python
2 2
#
3 3

  
4
# Copyright (C) 2010 Google Inc.
4
# Copyright (C) 2010, 2011, 2012 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
42 42

  
43 43
import ganeti.rapi.client # pylint: disable=W0611
44 44
import ganeti.rapi.client_utils
45
from ganeti.rapi.client import UsesRapiClient
45 46

  
46 47

  
47 48
SRC_RAPI_PORT_OPT = \
......
836 837
  return (src_cluster_name, dest_cluster_name, instance_names)
837 838

  
838 839

  
839
@rapi.client.UsesRapiClient
840
@UsesRapiClient
840 841
def main():
841 842
  """Main routine.
842 843

  

Also available in: Unified diff