Revision 121f3bc0 image_creator/os_type/windows.py

b/image_creator/os_type/windows.py
1
# -*- coding: utf-8 -*-
2
#
1 3
# Copyright 2012 GRNET S.A. All rights reserved.
2 4
#
3 5
# Redistribution and use in source and binary forms, with or
......
31 33
# interpreted as representing official policies, either expressed
32 34
# or implied, of GRNET S.A.
33 35

  
36
"""This module hosts OS-specific code common for the various Microsoft
37
Windows OSs."""
38

  
34 39
from image_creator.os_type import OSBase
35 40

  
36 41
import hivex
......
46 51
        self.meta["USERS"] = " ".join(self._get_users())
47 52

  
48 53
    def _get_users(self):
54
        """Returns a list of users found in the images"""
49 55
        samfd, sam = tempfile.mkstemp()
50 56
        try:
51 57
            systemroot = self.g.inspect_get_windows_systemroot(self.root)

Also available in: Unified diff