Commit 78680674 authored by Christian Hergert's avatar Christian Hergert
Browse files

python: fix indentation for if with string check

if __name__ == '__main__':<Return>

This was failing to indent because we were walking back an extra character
to deal with some faulting strings. I think it is okay to simply remove
this movement.
parent 3fd0da4c
......@@ -43,8 +43,6 @@ in_pydoc (const GtkTextIter *iter)
GtkTextIter copy = *iter;
GtkSourceBuffer *buffer;
gtk_text_iter_backward_char (&copy);
buffer = GTK_SOURCE_BUFFER (gtk_text_iter_get_buffer (iter));
if (gtk_source_buffer_iter_has_context_class (buffer, &copy, "comment") ||
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment