diff options
author | Luigi Toscano <ltoscano@redhat.com> | 2017-07-13 18:44:26 +0200 |
---|---|---|
committer | Luigi Toscano <ltoscano@redhat.com> | 2017-07-13 18:51:45 +0200 |
commit | 76f056899c728a47bfa061732c284319ea9ce0c3 (patch) | |
tree | 5e076fc1f37388db500262858c3dbdd0e7e749ee /saharaclient | |
parent | df536ba753c4731a6b494dccdacb1428c941d290 (diff) | |
download | python-saharaclient-76f056899c728a47bfa061732c284319ea9ce0c3.tar.gz |
doc: enable warning-is-error and fix warnings
A small workaround is required for a specific parameter (see the
inline comment).
Change-Id: I1eac60cc8ca89a12dd568f5a12f70fdab9b76b62
Diffstat (limited to 'saharaclient')
-rw-r--r-- | saharaclient/api/images.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/saharaclient/api/images.py b/saharaclient/api/images.py index c10033b..d306400 100644 --- a/saharaclient/api/images.py +++ b/saharaclient/api/images.py @@ -48,9 +48,11 @@ class ImageManager(base.ResourceManager): def update_tags(self, image_id, new_tags): """Update an Image tags. - :param list new_tags: list of tags that will replace currently - assigned tags + :param new_tags: list of tags that will replace currently + assigned tags """ + # Do not add :param list in the docstring above until this is solved: + # https://github.com/sphinx-doc/sphinx/issues/2549 old_image = self.get(image_id) old_tags = frozenset(old_image.tags) |