Skip to content

Commit

Permalink
golang: use keys() list to look in
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Whiteman committed Feb 18, 2015
1 parent 24255d8 commit ea6cc0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/koGoLanguage.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __init__(self):
globalPrefs.setBoolean("haveInstalledGoFormatter", True)

# Add extensible items (available in komodo 9 and higher).
if 'koIInterpolationService' in components.interfaces:
if 'koIInterpolationService' in components.interfaces.keys():
interpolateSvc = components.classes["@activestate.com/koInterpolationService;1"].\
getService(components.interfaces.koIInterpolationService)
try:
Expand Down

0 comments on commit ea6cc0f

Please sign in to comment.