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

"-O get" stores uid as a list #1

Closed
mlawren opened this issue Jan 2, 2015 · 1 comment
Closed

"-O get" stores uid as a list #1

mlawren opened this issue Jan 2, 2015 · 1 comment

Comments

@mlawren
Copy link

mlawren commented Jan 2, 2015

After running "git meta -O get" the .gitmeta file contains the following:

{
"etc/ssh/ssh_config": {
"uid": [
"root"
], 
"gid": "root", 
"mode": 33188, 
"mtime": 1293387162
}, 

"git meta set" does not expect the uid: field to be a list, and croaks with the following message:

Traceback (most recent call last):
  File "/usr/local/bin/git-meta", line 246, in <module>
    __init__()
  File "/usr/local/bin/git-meta", line 241, in __init__
    git_set_file_attributs(args)
  File "/usr/local/bin/git-meta", line 126, in git_set_file_attributs
    uid = pwd.getpwnam(data[file]['uid']).pw_uid
TypeError: must be string, not list
@mlawren
Copy link
Author

mlawren commented Jan 2, 2015

In case it makes a difference, I'm running Python 2.7.3 on a Debian 7.7 (wheezy) system.

@renard renard closed this as completed in 65f4c65 Jan 2, 2015
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