mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
python: fix unicode escape in doc string
The doc string has `\u` mark inside, which will cause encoding error in py3. prefix `r` to doc string to fix. Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
@ -23,7 +23,7 @@ from samba.net import Net
|
||||
|
||||
|
||||
def _get_user_realm_domain(user):
|
||||
""" get the realm or the domain and the base user
|
||||
r""" get the realm or the domain and the base user
|
||||
from user like:
|
||||
* username
|
||||
* DOMAIN\username
|
||||
|
Reference in New Issue
Block a user