From: Joe Guo Date: Wed, 11 Apr 2018 04:32:19 +0000 (+1200) Subject: python: fix unicode escape in doc string X-Git-Tag: ldb-1.4.0~600 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aeb6e07df3c65356ca6560c48d3c45648c550774;p=thirdparty%2Fsamba.git 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 Reviewed-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/python/samba/netcmd/common.py b/python/samba/netcmd/common.py index 5c0bd95f089..2d0ff620bae 100644 --- a/python/samba/netcmd/common.py +++ b/python/samba/netcmd/common.py @@ -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