diff --git a/lib/hypervisor/hv_kvm.py b/lib/hypervisor/hv_kvm.py index 8bc84519a0b1c965bf4fd24bd7d128708957c412..2d6e23b7bbee04d0dd47a466908a59fe027ca99a 100644 --- a/lib/hypervisor/hv_kvm.py +++ b/lib/hypervisor/hv_kvm.py @@ -1547,7 +1547,7 @@ class KVMHypervisor(hv_base.BaseHypervisor): @type text: string @param text: output of kvm --help @return: (version, v_maj, v_min, v_rev) - @raise L{errors.HypervisorError}: when the KVM version cannot be retrieved + @raise errors.HypervisorError: when the KVM version cannot be retrieved """ match = cls._VERSION_RE.search(text.splitlines()[0]) @@ -1568,7 +1568,7 @@ class KVMHypervisor(hv_base.BaseHypervisor): """Return the installed KVM version. @return: (version, v_maj, v_min, v_rev) - @raise L{errors.HypervisorError}: when the KVM version cannot be retrieved + @raise errors.HypervisorError: when the KVM version cannot be retrieved """ result = utils.RunCmd([constants.KVM_PATH, "--help"]) diff --git a/tools/lvmstrap b/tools/lvmstrap index 6512477c9c942ae7619f4ab06579b5a072480f49..205eaeb889d0ede07b389c418df2795f9b45004c 100755 --- a/tools/lvmstrap +++ b/tools/lvmstrap @@ -1,7 +1,7 @@ #!/usr/bin/python # -# Copyright (C) 2006, 2007, 2011 Google Inc. +# Copyright (C) 2006, 2007, 2011, 2012 Google Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -336,7 +336,7 @@ def CheckSysDev(name, devnum): @param name: the device name, e.g. 'sda' @param devnum: the device number, e.g. 0x803 (2051 in decimal) for sda3 - @raises L{SysconfigError}: in case of failure of the check + @raises SysconfigError: in case of failure of the check """ path = "/dev/%s" % name