Revision c4feafe8 lib/hypervisor/hv_chroot.py

b/lib/hypervisor/hv_chroot.py
110 110

  
111 111
    """
112 112
    return [name for name in os.listdir(self._ROOT_DIR)
113
            if self._IsDirLive(os.path.join(self._ROOT_DIR, name))]
113
            if self._IsDirLive(utils.PathJoin(self._ROOT_DIR, name))]
114 114

  
115 115
  def GetInstanceInfo(self, instance_name):
116 116
    """Get instance properties.
......
134 134
    """
135 135
    data = []
136 136
    for file_name in os.listdir(self._ROOT_DIR):
137
      path = os.path.join(self._ROOT_DIR, file_name)
137
      path = utils.PathJoin(self._ROOT_DIR, file_name)
138 138
      if self._IsDirLive(path):
139 139
        data.append((file_name, 0, 0, 0, 0, 0))
140 140
    return data

Also available in: Unified diff