HTD / NST

New Source Tree Komodo Addon
32 stars 20 forks source link

function definition identification error #11

Open mrainess opened 11 years ago

mrainess commented 11 years ago

In the code section:

if top_level_count == 2:
    index = cat_nodes_list.index(cat_node)
    default_category = cat_nodes_list[index - 1]
    break

the line:

default_category = cat_nodes_list[index - 1]

Is interpreted as a function definition and gets listed in the source tree sidebar

Komodo Edit 7.1.4, build 11196