On 16 May 2013 10:23, Thomas Thrainer <[email protected]> wrote:
> All LUGroup* classes are moved to group.py. Common functions are
> extracted to common.py.

This patch also changes the order of functions in cluster.py. If kept
this way, the comment should reflect that.

>
> Signed-off-by: Thomas Thrainer <[email protected]>
> ---
>  Makefile.am                       |    1 +
>  lib/cmdlib/__init__.py            | 1055 
> +------------------------------------
>  lib/cmdlib/cluster.py             |  172 +++---
>  lib/cmdlib/common.py              |  150 ++++++
>  lib/cmdlib/group.py               |  942 +++++++++++++++++++++++++++++++++
>  test/py/ganeti.cmdlib_unittest.py |   19 +-
>  6 files changed, 1195 insertions(+), 1144 deletions(-)
>  create mode 100644 lib/cmdlib/group.py


> diff --git a/lib/cmdlib/common.py b/lib/cmdlib/common.py
> index a922ad9..60f748f 100644
> --- a/lib/cmdlib/common.py
> +++ b/lib/cmdlib/common.py
> @@ -24,6 +24,7 @@ import copy
>  import os
>
>  from ganeti import constants
> +from ganeti import compat
>  from ganeti import errors
>  from ganeti import locking
>  from ganeti import utils
> @@ -32,6 +33,7 @@ from ganeti import objects
>  from ganeti import pathutils
>  from ganeti import rpc
>  from ganeti import ssconf
> +from ganeti import opcodes

Please keep them sorted.

Rest LGTM, thanks.
Bernardo

Reply via email to