Skip to content
This repository was archived by the owner on Feb 1, 2019. It is now read-only.
This repository was archived by the owner on Feb 1, 2019. It is now read-only.

Subtasks prepared by makeit cause exceptions in doit #3

Description

@lottspot

Doit doesn't like the subtask dictionary being passed to it by makeit, causing an exception to be raised.

Traceback (most recent call last):
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/doit_cmd.py", line 168, in run
    return command.parse_execute(args)
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/cmd_base.py", line 122, in parse_execute
    return self.execute(params, args)
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/cmd_base.py", line 380, in execute
    self, params, args)
  File "build/bdist.linux-x86_64/egg/makeit/loader.py", line 35, in load_tasks
    return self._processed_dicts_to_tasks(processed), self.doitcfg
  File "build/bdist.linux-x86_64/egg/makeit/loader.py", line 108, in _processed_dicts_to_tasks
    tasks.append(dict_to_task(taskdict))
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/task.py", line 510, in dict_to_task
    return Task(**task_dict)
TypeError: __init__() got an unexpected keyword argument 'basename'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions