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

View history from the File Browser throws exception #274

Closed
wengole opened this issue Jun 6, 2014 · 1 comment
Closed

View history from the File Browser throws exception #274

wengole opened this issue Jun 6, 2014 · 1 comment

Comments

@wengole
Copy link

wengole commented Jun 6, 2014

Traceback (most recent call last):
  File "/usr/share/git-cola/lib/cola/widgets/browse.py", line 358, in view_history
    cmds.do(cmds.VisualizePaths, entries)
  File "/usr/share/git-cola/lib/cola/cmds.py", line 1311, in do
    return do_cmd(cls(*args, **opts))
  File "/usr/share/git-cola/lib/cola/cmds.py", line 1241, in __init__
    self.argv = browser + paths
TypeError: can only concatenate list (not "map") to list

I have a "fix" for this. I'm not entirely sure of the underlying problem, but I've worked around it. Will submit a pull request

wengole pushed a commit to wengole/git-cola that referenced this issue Jun 6, 2014
@wengole wengole mentioned this issue Jun 6, 2014
@davvid davvid closed this as completed in 2fc8fc8 Jun 7, 2014
@davvid
Copy link
Member

davvid commented Jun 7, 2014

Thanks for the fix. I ended up wrapping the map() with list() at the call-site. You're on Python3, correct?

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

2 participants