From dcb9946c76d053512ed7d29c82e821c0398dd587 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Thu, 20 Jan 2011 12:31:46 +0100 Subject: [PATCH] Improve documentation for QRFS_UNAVAIL IMHO this should have been named QRFS_NA or QRFS_UNSUPPORTED, but UNAVAIL is good enough. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Michael Hanselmann <hansmi@google.com> --- lib/constants.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/constants.py b/lib/constants.py index 859f896c1..450ae790a 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -1,7 +1,7 @@ # # -# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc. +# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Google Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -1005,7 +1005,9 @@ QRFS_NORMAL = 0 QRFS_UNKNOWN = 1 #: No data (e.g. RPC error), can be used instead of L{QRFS_OFFLINE} QRFS_NODATA = 2 -#: Value unavailable for item +#: Value unavailable/unsupported for item; if this field is supported +#: but we cannot get the data for the moment, QRFS_NODATA or +#: QRFS_OFFLINE should be used QRFS_UNAVAIL = 3 #: Resource marked offline QRFS_OFFLINE = 4 -- GitLab