storage: Check that mapper is either used or None
authorIustin Pop <iustin@google.com>
Wed, 26 Jan 2011 09:01:41 +0000 (10:01 +0100)
committerIustin Pop <iustin@google.com>
Wed, 26 Jan 2011 10:31:28 +0000 (11:31 +0100)
commit985e3f7704978e8e0909d4b5770209203354ca36
treef7618a352cfa5b66b84a4dfca9eafe59a907b665
parent5ae7cd1183c7e47572bc9e7b286f2ac71b1a0104
storage: Check that mapper is either used or None

This is a followup patch to the one moving GetAllocatable out to
module level.

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