Backport support for access rules

This patch is a charm-helpers sync to get the fixes
application credential access-rules.

Change-Id: I95d8fcd20874c0afc07440451e3d8bef2eadc114
Related-Bug: #1965967
This commit is contained in:
Edward Hope-Morley
2023-08-23 12:14:59 +01:00
parent 92ec63c7a5
commit 0336010d31
17 changed files with 126 additions and 17 deletions

View File

@@ -926,7 +926,7 @@ def pwgen(length=None):
random_generator = random.SystemRandom()
random_chars = [
random_generator.choice(alphanumeric_chars) for _ in range(length)]
return(''.join(random_chars))
return ''.join(random_chars)
def is_phy_iface(interface):