gdctl: Fix runtime warning message grammar
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4271>
This commit is contained in:
parent
de2d19e882
commit
9715c92745
@ -1666,7 +1666,7 @@ if __name__ == "__main__":
|
|||||||
if e.domain == GLib.quark_to_string(Gio.DBusError.quark()):
|
if e.domain == GLib.quark_to_string(Gio.DBusError.quark()):
|
||||||
error_message = strip_dbus_error_prefix(e.message)
|
error_message = strip_dbus_error_prefix(e.message)
|
||||||
print(
|
print(
|
||||||
f"Failed retrieve current state: {error_message}",
|
f"Failed to retrieve current state: {error_message}",
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
)
|
)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
@ -1690,7 +1690,7 @@ if __name__ == "__main__":
|
|||||||
if e.domain == GLib.quark_to_string(Gio.DBusError.quark()):
|
if e.domain == GLib.quark_to_string(Gio.DBusError.quark()):
|
||||||
error_message = strip_dbus_error_prefix(e.message)
|
error_message = strip_dbus_error_prefix(e.message)
|
||||||
print(
|
print(
|
||||||
f"Failed retrieve current state: {error_message}",
|
f"Failed to retrieve current state: {error_message}",
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
)
|
)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user