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

New single-sync feature is broken for Python 3 #21

Closed
jbernard opened this issue Nov 8, 2013 · 2 comments
Closed

New single-sync feature is broken for Python 3 #21

jbernard opened this issue Nov 8, 2013 · 2 comments
Labels

Comments

@jbernard
Copy link
Owner

jbernard commented Nov 8, 2013

I have no idea why yet, but it seems that in core.py line 195:

dotfiles = [x for x in self.dotfiles if x.name in files]

Works fine in Python 2, but not in 3.2 or 3.3.

@jaysw
Copy link
Contributor

jaysw commented Nov 9, 2013

Hi. See line 194, map() is lazy in python 3.x. Thanks for your work on dotfiles - handy tool.

jbernard pushed a commit that referenced this issue Nov 9, 2013
@jbernard
Copy link
Owner Author

jbernard commented Nov 9, 2013

Ah, thanks for the fix. I saw that it returned a map object instead of the list I was expecting, but I thought the in operator would do the right thing.

@jbernard jbernard closed this as completed Nov 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants