Fix style violations in commit 4a90bd4, small changes
authorMichael Hanselmann <hansmi@google.com>
Fri, 22 Feb 2013 15:50:41 +0000 (16:50 +0100)
committerMichael Hanselmann <hansmi@google.com>
Mon, 25 Feb 2013 12:52:39 +0000 (13:52 +0100)
commita82d93947e7ad06f13574b6fa44b08851dab826e
treef45ff32684c1b194f78f4c918b329a0586bb0861
parentd59633a6a8216d77f1932a8851ba1406422fa2ea
Fix style violations in commit 4a90bd4, small changes

- Commit 4a90bd4 contained a rather large number of style violations:
  - Indentation/sequence formatting
  - Wrapping of long lines
  - Docstrings whose first line was wrapped
  - A stray backslash in a docstring
- opcodes: Don't check for list or tuple. None of the other opcodes does
  it explicitely. As long as the length and the items match the value is
  accepted.
- server/noded: “if variable” doesn't test for None, but False

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/opcodes.py
lib/rapi/rlib2.py
lib/server/noded.py
test/py/ganeti.rapi.rlib2_unittest.py