Fix minor typos

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Yuri Chornoivan 2016-06-19 11:03:33 +03:00 committed by Martin Basti
parent a540c909a7
commit a95e0777ac
4 changed files with 6 additions and 6 deletions

View File

@ -407,7 +407,7 @@ class ServerNetworkError(PublicError):
class JSONError(PublicError): class JSONError(PublicError):
""" """
**909** Raised when server recieved a malformed JSON-RPC request. **909** Raised when server received a malformed JSON-RPC request.
""" """
errno = 909 errno = 909
@ -475,7 +475,7 @@ class KerberosError(AuthenticationError):
class CCacheError(KerberosError): class CCacheError(KerberosError):
""" """
**1101** Raised when sever does not recieve Kerberose credentials. **1101** Raised when sever does not receive Kerberose credentials.
For example: For example:

View File

@ -82,7 +82,7 @@ class SyncReplConsumer(ReconnectLDAPObject, SyncreplConsumer):
def syncrepl_present(self, uuids, refreshDeletes=False): def syncrepl_present(self, uuids, refreshDeletes=False):
# If we have not been given any UUID values, # If we have not been given any UUID values,
# then we have recieved all the present controls... # then we have received all the present controls...
if uuids is None: if uuids is None:
# We only do things if refreshDeletes is false # We only do things if refreshDeletes is false
# as the syncrepl extension will call syncrepl_delete instead # as the syncrepl extension will call syncrepl_delete instead

View File

@ -600,10 +600,10 @@ class ADTRUSTInstance(service.Service):
self.print_msg("Add the following service records to your DNS " \ self.print_msg("Add the following service records to your DNS " \
"server for DNS zone %s: " % zone) "server for DNS zone %s: " % zone)
system_records = IPASystemRecords(api) system_records = IPASystemRecords(api)
adtrust_recors = system_records.get_base_records( adtrust_records = system_records.get_base_records(
[self.fqdn], ["AD trust controller"], [self.fqdn], ["AD trust controller"],
include_master_role=False, include_kerberos_realm=False) include_master_role=False, include_kerberos_realm=False)
for r_name, node in adtrust_recors.items(): for r_name, node in adtrust_records.items():
for rec in IPASystemRecords.records_list_from_node(r_name, node): for rec in IPASystemRecords.records_list_from_node(r_name, node):
self.print_msg(rec) self.print_msg(rec)
else: else:

View File

@ -4441,7 +4441,7 @@ class dns_update_system_records(Command):
Flag( Flag(
'dry_run', 'dry_run',
label=_('Dry run'), label=_('Dry run'),
doc=_('Do not update recors only return expected records') doc=_('Do not update records only return expected records')
) )
) )