1
0
Fork 0

tests/dbusmock-templates/colord: Remove unused variables

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3016>
This commit is contained in:
Marco Trevisan (Treviño) 2023-05-23 18:55:49 +02:00 committed by Marge Bot
parent 7d95a41ec2
commit 079745ca9f

View file

@ -144,8 +144,6 @@ def Reset(self):
@dbus.service.method(MOCK_IFACE, in_signature='ss')
def AddSystemProfile(self, profile_id, file_path):
uid = os.getuid()
username = get_username(uid)
profile_path = PATH_PREFIX + '/profiles/' + \
escape_unit_name(profile_id)
self.profiles[profile_id] = profile_path