Skip to content

TypeError when using the old config file format #65

Open
@holmboe

Description

@holmboe

After #59 was merged we get this error when using the old config file format.

❯ subgit pull
Exception type : TypeError
EXCEPTION MESSAGE: string indices must be integers
To get more detailed exception set environment variable 'DEBUG=1'
To PDB debug set environment variable 'PDB=1'

Here is the traceback:

Traceback (most recent call last):
  [...]
  File "/home/nn/code/github.com/dynamist/subgit/subgit/core.py", line 354, in pull
    active_repos = self._get_active_repos(config)
  File "/home/nn/code/github.com/dynamist/subgit/subgit/core.py", line 335, in _get_active_repos
    repo_name = repo_data["name"]
TypeError: string indices must be integers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions