mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-22 18:50:15 +03:00
Merge pull request #12 from altlinux/firefox_applier_fix
Fix for samba_preg access in firefox_applier
This commit is contained in:
commit
521125391b
@ -98,7 +98,7 @@ class firefox_applier(applier_frontend):
|
||||
})
|
||||
response = self.get_hklm_string_entry('Homepage\\URL')
|
||||
if response:
|
||||
homepage['URL'] = response
|
||||
homepage['URL'] = response.data
|
||||
return homepage
|
||||
return None
|
||||
|
||||
@ -108,7 +108,7 @@ class firefox_applier(applier_frontend):
|
||||
'''
|
||||
response = self.get_hklm_string_entry('BlockAboutConfig')
|
||||
if response:
|
||||
if response.lower() in ['0', 'false', False, None, 'None']:
|
||||
if response.data.lower() in ['0', 'false', False, None, 'None']:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user