1. 01 Jul, 2010 1 commit
  2. 30 Jun, 2010 2 commits
  3. 29 Jun, 2010 2 commits
  4. 28 Jun, 2010 1 commit
    • Guido Trotter's avatar
      Remove pred from compat.any/all · 403f5172
      Guido Trotter authored
      
      
      This makes it compatible with the python builtin, and we can even use
      the builtin when running under the right version of python. The all and
      any functions are renamed to _all and _any, so that they can be tested,
      and (non)existing unittests are updated (translation: there are no unit
      tests, so none are updated).
      
      This patch also moves the code deciding which partial to use next to
      the definition of the _partial function, rather than after TryToRoman.
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      403f5172
  5. 23 Jun, 2010 9 commits
  6. 22 Jun, 2010 1 commit
  7. 17 Jun, 2010 1 commit
  8. 10 Jun, 2010 1 commit
  9. 08 Jun, 2010 1 commit
  10. 01 Jun, 2010 5 commits
  11. 25 May, 2010 1 commit
  12. 03 May, 2010 1 commit
  13. 21 Apr, 2010 2 commits
  14. 20 Apr, 2010 1 commit
  15. 16 Apr, 2010 4 commits
  16. 12 Apr, 2010 1 commit
    • Iustin Pop's avatar
      Add a identify-defaults options for import · e588764d
      Iustin Pop authored
      
      
      When importing an instance, all the saved valued will be used as
      explicitly specified values, overriding the cluster defaults. This means
      export+import will change the status (from default to explicitly
      specified) of parameters.
      
      This patch adds a new option that changes the behaviour to identify
      parameter values which are equal to the current cluster defaults and
      mark them as such. It does this for hv, be and nic parameters.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      e588764d
  17. 09 Apr, 2010 1 commit
    • Guido Trotter's avatar
      Fix new pylint errors · fe7c59d5
      Guido Trotter authored
      
      
      Under squeeze pylint reports the following errors:
      ************* Module ganeti.serializer
      E1103:155:LoadSignedJson: Instance of 'False' has no 'get' member (but some types could not be inferred)
      ************* Module ganeti-masterd
      E1103:166:ClientRqHandler.handle: Instance of 'False' has no 'get' member (but some types could not be inferred)
      E1103:167:ClientRqHandler.handle: Instance of 'False' has no 'get' member (but some types could not be inferred)
      ************* Module gnt-instance
      E1103:431:BatchCreate: Instance of 'False' has no 'keys' member (but some types could not be inferred)
      
      For the first two cases it's actually wrong: we had checked before that
      the variable on which "get" is called is actually a dict. In the third
      case though such check doesn't exist, so we add it. Then we silence the
      error all three times.
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      fe7c59d5
  18. 08 Apr, 2010 1 commit
  19. 23 Mar, 2010 1 commit
  20. 17 Mar, 2010 3 commits