Revision 24d16f76 lib/luxi.py
b/lib/luxi.py | ||
---|---|---|
34 | 34 |
import time |
35 | 35 |
import errno |
36 | 36 |
import logging |
37 |
import warnings |
|
37 | 38 |
|
38 | 39 |
from ganeti import serializer |
39 | 40 |
from ganeti import constants |
... | ... | |
543 | 544 |
return self.CallMethod(REQ_QUERY_TAGS, (kind, name)) |
544 | 545 |
|
545 | 546 |
def QueryLocks(self, fields, sync): |
547 |
warnings.warn("This LUXI call is deprecated and will be removed, use" |
|
548 |
" Query(\"%s\", ...) instead" % constants.QR_LOCK) |
|
546 | 549 |
return self.CallMethod(REQ_QUERY_LOCKS, (fields, sync)) |
Also available in: Unified diff