acltoolkit icon indicating copy to clipboard operation
acltoolkit copied to clipboard

Support py3.12

Open chenrui333 opened this issue 2 years ago • 0 comments

While packaging acltoolkit for homebrew, I found some syntax warnings with py3.12

/opt/homebrew/Cellar/acltoolkit/0.2.2/libexec/lib/python3.12/site-packages/acltoolkit/get_objectacl.py:149: SyntaxWarning: invalid escape sequence '\%'
  self._sid_map[sid] = '%s\%s' % (self.domain.get("name"),result.get("name"))
/opt/homebrew/Cellar/acltoolkit/0.2.2/libexec/lib/python3.12/site-packages/acltoolkit/ldap.py:107: SyntaxWarning: invalid escape sequence '\%'
  user="%s\%s" % (target.domain, target.username),
/opt/homebrew/Cellar/acltoolkit/0.2.2/libexec/lib/python3.12/site-packages/acltoolkit/ldap.py:115: SyntaxWarning: invalid escape sequence '\%'
  user="%s\%s" % (target.domain, target.username),

chenrui333 avatar Nov 07 '23 05:11 chenrui333