mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
tests/dbusmock-templates/colord: Remove unused variables
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3016>
This commit is contained in:
parent
7d95a41ec2
commit
079745ca9f
@ -144,8 +144,6 @@ def Reset(self):
|
|||||||
|
|
||||||
@dbus.service.method(MOCK_IFACE, in_signature='ss')
|
@dbus.service.method(MOCK_IFACE, in_signature='ss')
|
||||||
def AddSystemProfile(self, profile_id, file_path):
|
def AddSystemProfile(self, profile_id, file_path):
|
||||||
uid = os.getuid()
|
|
||||||
username = get_username(uid)
|
|
||||||
profile_path = PATH_PREFIX + '/profiles/' + \
|
profile_path = PATH_PREFIX + '/profiles/' + \
|
||||||
escape_unit_name(profile_id)
|
escape_unit_name(profile_id)
|
||||||
self.profiles[profile_id] = profile_path
|
self.profiles[profile_id] = profile_path
|
||||||
|
Loading…
Reference in New Issue
Block a user