Commit 0f72248
committed
Camera.set_transform: do not eval strings.
It is possible to pass a string as transform which is then evaled.
The expectation is that it's a tuple of 3 booleans. The support for
strings was because Cockpit conf file is read as string but Cockpit is
doing that parsing so this is no longer needed or desirable.1 parent a8c1657 commit 0f72248
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
864 | 863 | | |
865 | 864 | | |
866 | 865 | | |
867 | | - | |
| 866 | + | |
868 | 867 | | |
869 | 868 | | |
870 | 869 | | |
| |||
878 | 877 | | |
879 | 878 | | |
880 | 879 | | |
881 | | - | |
| 880 | + | |
882 | 881 | | |
883 | | - | |
884 | | - | |
885 | 882 | | |
886 | 883 | | |
887 | 884 | | |
| |||
0 commit comments