mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add spaces for strings split across multiple lines
This commit is contained in:
parent
87d028b302
commit
bb001a6c0e
1 changed files with 8 additions and 8 deletions
|
@ -138,8 +138,8 @@ def read_key(hkey, path, key=None):
|
|||
'success': True}
|
||||
|
||||
if key: # This if statement will be removed in Boron
|
||||
salt.utils.warn_until('Boron', 'Use reg.read_value to read a registry'
|
||||
'value. This functionality will be'
|
||||
salt.utils.warn_until('Boron', 'Use reg.read_value to read a registry '
|
||||
'value. This functionality will be '
|
||||
'removed in Salt Boron')
|
||||
return read_value(hive=hkey,
|
||||
key=path,
|
||||
|
@ -251,8 +251,8 @@ def set_key(hkey, path, value, key=None, vtype='REG_DWORD', reflection=True):
|
|||
'''
|
||||
|
||||
if key: # This if statement will be removed in Boron
|
||||
salt.utils.warn_until('Boron', 'Use reg.set_value to set a registry'
|
||||
'value. This functionality will be'
|
||||
salt.utils.warn_until('Boron', 'Use reg.set_value to set a registry '
|
||||
'value. This functionality will be '
|
||||
'removed in Salt Boron')
|
||||
return set_value(hive=hkey,
|
||||
key=path,
|
||||
|
@ -356,8 +356,8 @@ def create_key(hkey, path, key=None, value=None, reflection=True):
|
|||
salt '*' reg.create_key HKEY_CURRENT_USER 'SOFTWARE\\Salt' 'version' '0.97'
|
||||
'''
|
||||
if key: # This if statement will be removed in Boron
|
||||
salt.utils.warn_until('Boron', 'Use reg.set_value to set a registry'
|
||||
'value. This functionality will be'
|
||||
salt.utils.warn_until('Boron', 'Use reg.set_value to set a registry '
|
||||
'value. This functionality will be '
|
||||
'removed in Salt Boron')
|
||||
return set_value(hive=hkey,
|
||||
key=path,
|
||||
|
@ -409,8 +409,8 @@ def delete_key(hkey, path, key=None, reflection=True):
|
|||
'''
|
||||
|
||||
if key: # This if statement will be removed in Boron
|
||||
salt.utils.warn_until('Boron', 'Use reg.set_value to set a registry'
|
||||
'value. This functionality will be'
|
||||
salt.utils.warn_until('Boron', 'Use reg.set_value to set a registry '
|
||||
'value. This functionality will be '
|
||||
'removed in Salt Boron')
|
||||
return delete_value(hive=hkey,
|
||||
key=path,
|
||||
|
|
Loading…
Add table
Reference in a new issue