mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix several small typos
Fixes: https://fedorahosted.org/freeipa/ticket/6085 Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
@@ -289,5 +289,5 @@ class Tracker(object):
|
||||
set(expected_updates.keys()))
|
||||
|
||||
def check_update(self, result, extra_keys=()):
|
||||
"""Check the plugin's `find` command result"""
|
||||
"""Check the plugin's `mod` command result"""
|
||||
raise NotImplementedError(self._override_me_msg)
|
||||
|
||||
@@ -184,7 +184,7 @@ class UserTracker(Tracker):
|
||||
Overriding Tracker method for setting self.attrs correctly;
|
||||
* most attributes stores its value in list
|
||||
* the rest can be overridden by expected_updates
|
||||
* allow deleting parametrs if update value is None
|
||||
* allow deleting parameters if update value is None
|
||||
"""
|
||||
if expected_updates is None:
|
||||
expected_updates = {}
|
||||
|
||||
@@ -97,8 +97,9 @@ fuzzy_issuer = Fuzzy(type=six.string_types)
|
||||
|
||||
fuzzy_hex = Fuzzy('^0x[0-9a-fA-F]+$', type=six.string_types)
|
||||
|
||||
# Matches password - password consists of all printable characters without whitespaces
|
||||
# The only exception is space, but space cannot be at the beggingin or end of the pwd
|
||||
# Matches password - password consists of all printable characters without
|
||||
# whitespaces. The only exception is space, but space cannot be at the
|
||||
# beginning or end of the pwd.
|
||||
fuzzy_password = Fuzzy('^\S([\S ]*\S)*$')
|
||||
|
||||
# Matches generalized time value. Time format is: %Y%m%d%H%M%SZ
|
||||
|
||||
@@ -205,7 +205,7 @@ class Fuzzy(object):
|
||||
>>> fuzzy.test # doctest:+ELLIPSIS
|
||||
<function <lambda> at 0x...>
|
||||
|
||||
To aid debugging, `Fuzzy.__repr__()` revealse these kwargs as well:
|
||||
To aid debugging, `Fuzzy.__repr__()` reveals these kwargs as well:
|
||||
|
||||
>>> fuzzy # doctest:+ELLIPSIS
|
||||
Fuzzy('.+', <type 'str'>, <function <lambda> at 0x...>)
|
||||
|
||||
Reference in New Issue
Block a user