query: Handle items missing timestamps
authorMichael Hanselmann <hansmi@google.com>
Fri, 10 Dec 2010 17:25:04 +0000 (18:25 +0100)
committerMichael Hanselmann <hansmi@google.com>
Mon, 13 Dec 2010 15:15:23 +0000 (16:15 +0100)
commit145bea54ca08345fddc3944c8db34f132c9c5c97
tree32fa86a019239a1a31394fee7e7196c42d82e01e
parent38f9d2cff49ae868ec3d668b0da5be5439214092
query: Handle items missing timestamps

In upgraded configurations, some items might miss the “ctime” and/or
“mtime” values and need to be handled specially.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/query.py
test/ganeti.query_unittest.py