1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Fix typos in project

This commit is contained in:
Valery Sinelnikov 2022-04-05 15:33:06 +04:00 committed by Evgeny Sinelnikov
parent 66ebe87592
commit 8765ef862b
6 changed files with 9 additions and 5 deletions

View File

@ -24,7 +24,7 @@ from .applier_frontend import (
import logging
import json
import os
import util.util as util
from util.logging import slogm, log
from util.util import is_machine_name
@ -57,7 +57,7 @@ class chromium_applier(applier_frontend):
def get_hkcu_string_entry(self, hive_subkey):
query_str = '{}\\{}'.format(self.__registry_branch, hive_subkey)
return self.storage.get_hkcu_entry(sid, query_str)
return self.storage.get_hkcu_entry(self.sid, query_str)
def get_hklm_string_entry_default(self, hive_subkey, default):
'''

View File

@ -36,6 +36,7 @@ from .applier_frontend import (
)
from util.logging import slogm, log
from util.util import is_machine_name
import util.util as util
class firefox_applier(applier_frontend):
__module_name = 'FirefoxApplier'

View File

@ -50,7 +50,7 @@ class service:
self.serviceaction = None
def set_clsid(self, clsid):
self.guid = uid
self.guid = clsid
def set_usercontext(self, usercontext=False):
ctx = False

View File

@ -18,7 +18,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from enum import Enum
import logging
import subprocess
from .logging import slogm
def wbinfo_getsid(domain, user):
'''

View File

@ -19,7 +19,7 @@
import os
import pwd
import subprocess
from samba import getopt as options
from samba import NTSTATUSError
from samba.gpclass import get_dc_hostname, check_refresh_gpo_list

View File

@ -18,7 +18,7 @@
import os
from messages import message_with_code
from .util import get_homedir
from .logging import log