Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes if repo entered twice #150

Open
tony opened this issue Jul 8, 2018 · 0 comments
Open

Crashes if repo entered twice #150

tony opened this issue Jul 8, 2018 · 0 comments

Comments

@tony
Copy link
Member

tony commented Jul 8, 2018

❯ vcspull vcspull tmuxp cihai cli unihan-etl unihan-db libvcs libtmux alagitpull alagitpull
|vcspull| (git)  Updating to 'master'.
|tmuxp| (git)  Updating to 'master'.
|cihai| (git)  Updating to 'master'.
|cli| (git)  Updating to 'master'.
|unihan-etl| (git)  Updating to 'master'.
|unihan-db| (git)  Updating to 'master'.
|libvcs| (git)  Updating to 'master'.
|libtmux| (git)  Updating to 'master'.
|alagitpull| (git)  Updating to 'master'.
Traceback (most recent call last):
  File "/home/x/.local/bin/vcspull", line 11, in <module>
    sys.exit(cli.cli())
  File "/home/x/.local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/x/.local/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/x/.local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/x/.local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/x/.local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/x/.local/lib/python3.6/site-packages/vcspull/cli.py", line 107, in update
    list(map(update_repo, found_repos))
  File "/home/x/.local/lib/python3.6/site-packages/vcspull/cli.py", line 120, in update_repo
    repo_dict['pip_url'] = repo_dict.pop('url')
KeyError: 'url'
❯ vcspull --version
vcspull 1.1.0

~
❯ python --version
Python 2.7.15rc1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant