fixed a problem with hiding passwords for uri = list of uris, thanks David
This commit is contained in:
1 parent
1383d13334
commit
4f0ee4543b
2 files changed
+3
-1
No files matched your search
@@ -1 +1 @@
|
||||
Version 2.4.6-stable+timestamp.2013.05.03.22.14.19
|
||||
Version 2.4.6-stable+timestamp.2013.05.03.22.19.25
|
||||
@@ -457,6 +457,8 @@ def pluralize(singular, rules=PLURALIZE_RULES):
|
||||
if plural: return plural
|
||||
|
||||
def hide_password(uri):
|
||||
if isinstance(uri,(list,tuple)):
|
||||
return [hide_password(item) for item in uri]
|
||||
return REGEX_NOPASSWD.sub('******',uri)
|
||||
|
||||
def OR(a,b):
|
||||
|
||||
Reference in new issue
Block a user