Skip to content
This repository was archived by the owner on Jan 21, 2018. It is now read-only.
This repository was archived by the owner on Jan 21, 2018. It is now read-only.

'dict' object has no attribute 'iteritems' #60

@yahyaerturan

Description

@yahyaerturan

Using SublimeText3. Gives errors when it runs:

Scanning D:\web_projects\vOtopazari\framework\application\controllers\home.php
Exception in thread Thread-16:
Traceback (most recent call last):
  File "X/threading.py", line 639, in _bootstrap_inner
  File "todo in D:\developer_apps\SublimeText-3\Data\Installed Packages\SublimeTODO.sublime-package", line 292, in run
  File "todo in D:\developer_apps\SublimeText-3\Data\Installed Packages\SublimeTODO.sublime-package", line 229, in format
  File "todo in D:\developer_apps\SublimeText-3\Data\Installed Packages\SublimeTODO.sublime-package", line 178, in extract
AttributeError: 'dict' object has no attribute 'iteritems'

My applied settings are:

"todo":
  {
      "file_exclude_patterns":[
        "*.css", "*.po", "*.mo"
      ],
      "folder_exclude_patterns": [
        "static", "vendor", "tmp"
      ],
      "patterns":
      {
        "TODO": "TODO[(]*.*[)]*:+(?P<todo>.*)$",
      "NOTE": "NOTE[(]*.*[)]*:+(?P<note>.*)$",
      "FIXME": "FIX ?ME[(]*.*[)]*:+(?P<fixme>\\S.*)$",
      "CHANGED": "CHANGED[(]*.*[)]*:+(?P<changed>\\S.*)$",
      "BUG": "BUG[(]*.*[)]*:+(?P<bug>.*)$",
      "FILE": "@file+(?P<file>.*)$"
      },
      "case_sensitive": true,
      "result_title": "TODO Results"
  }

And keys:

[
  { "keys": ["ctrl+shift+t"], "command": "todo", "args": {"open_files_only": false} },
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions