tests/dbusmock/colord: Fix system profile D-Bus path names
They had the username and userid in them, which they shouldn't. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2622>
This commit is contained in:
parent
a2000a1132
commit
f94a5c7ff9
1 changed files with 1 additions and 2 deletions
|
@ -147,8 +147,7 @@ def AddSystemProfile(self, profile_id, file_path):
|
|||
uid = os.getuid()
|
||||
username = get_username(uid)
|
||||
profile_path = PATH_PREFIX + '/profiles/' + \
|
||||
escape_unit_name(profile_id) + \
|
||||
'_' + username + '_' + str(uid)
|
||||
escape_unit_name(profile_id)
|
||||
self.profiles[profile_id] = profile_path
|
||||
self.AddObject(profile_path,
|
||||
PROFILE_IFACE,
|
||||
|
|
Loading…
Reference in a new issue