GNOME Bugzilla – Bug 702994
WARNING : Testing for expected AutostartCondition failed: Got (None)
Last modified: 2013-07-17 21:27:48 UTC
When I start gnome-tweak-tool, there is this (harmless) warning in the output: WARNING : Testing for expected AutostartCondition failed: Got (None) Traceback (most recent call last):
+ Trace 232138
return asc.split(" ", 1)[0] == autostart_type
Created attachment 247658 [details] [review] Avoid harmless warning trying to split None autostartcondition When self.get_austostart_condition() returns None and autostart_type is not None, the following code will try to apply split on None. The exception handling catches this and returns the correct value for the function in this case so it's harmless, this just fixes so that there's no traceback in the application output....
Attachment 247658 [details] pushed as cdcd3c8 - Avoid harmless warning trying to split None autostartcondition