Revision 5ae4945a lib/hypervisor/hv_base.py

b/lib/hypervisor/hv_base.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc.
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2012 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
81 81

  
82 82
# must be afile
83 83
_FILE_CHECK = (utils.IsNormAbsPath, "must be an absolute normalized path",
84
              os.path.isfile, "not found or not a file")
84
               os.path.isfile, "not found or not a file")
85 85

  
86 86
# must be a directory
87 87
_DIR_CHECK = (utils.IsNormAbsPath, "must be an absolute normalized path",
88
             os.path.isdir, "not found or not a directory")
88
              os.path.isdir, "not found or not a directory")
89 89

  
90 90
# CPU mask must be well-formed
91 91
# TODO: implement node level check for the CPU mask

Also available in: Unified diff