Revision 7260cfbe lib/rapi/rlib2.py
b/lib/rapi/rlib2.py | ||
---|---|---|
672 | 672 |
Example: ["tag1", "tag2", "tag3"] |
673 | 673 |
|
674 | 674 |
""" |
675 |
# pylint: disable-msg=W0212 |
|
675 | 676 |
return baserlib._Tags_GET(self.TAG_LEVEL, name=self.name) |
676 | 677 |
|
677 | 678 |
def PUT(self): |
... | ... | |
681 | 682 |
you'll have back a job id. |
682 | 683 |
|
683 | 684 |
""" |
685 |
# pylint: disable-msg=W0212 |
|
684 | 686 |
if 'tag' not in self.queryargs: |
685 | 687 |
raise http.HttpBadRequest("Please specify tag(s) to add using the" |
686 | 688 |
" the 'tag' parameter") |
... | ... | |
696 | 698 |
/tags?tag=[tag]&tag=[tag] |
697 | 699 |
|
698 | 700 |
""" |
701 |
# pylint: disable-msg=W0212 |
|
699 | 702 |
if 'tag' not in self.queryargs: |
700 | 703 |
# no we not gonna delete all tags |
701 | 704 |
raise http.HttpBadRequest("Cannot delete all tags - please specify" |
Also available in: Unified diff