Fix an error accessing the cfg
authorGuido Trotter <ultrotter@google.com>
Tue, 8 Jul 2008 08:55:04 +0000 (08:55 +0000)
committerGuido Trotter <ultrotter@google.com>
Tue, 8 Jul 2008 08:55:04 +0000 (08:55 +0000)
commitf64c9de623782cd6cf66d541197ea8cbbd6fa301
tree6fec4f3b85b3ec428856d65b27a952f50b1a9577
parenta2fd9afc7fa2c48e0e659a814054de75e06fd819
Fix an error accessing the cfg

Since the context is passed to LogicalUnit, rather than the cfg, we can
only access the cfg as self.cfg, self.context.cfg, or context.cfg (in
the constructor). cfg is not valid anymore.

Reviewed-by: iustinp
lib/cmdlib.py