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

fix undefined var 'user' #654

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joelrebel
Copy link

when a user, group is defined in diamond.conf, we end up with the below error,

ERROR: Failed to set UID/GID. global name 'user' is not defined

Seems to be introduced in ad3862d76c,

This fixes it on nix based OS's, it needs testing on 'nt' based systems since 'pwd' might not be available on those

when a user, group is defined in diamond.conf,
we end up with the below error,

 ERROR: Failed to set UID/GID. global name 'user' is not defined
@coveralls
Copy link

coveralls commented Jun 2, 2017

Coverage Status

Coverage remained the same at 24.667% when pulling d46b0f5 on joelrebel:master into f2bece4 on python-diamond:master.

@JakSla
Copy link

JakSla commented Oct 20, 2017

this can also be used as an alternative
user = config['server']['user']

@shortdudey123
Copy link
Member

Can you rebase on master? As a side note, the alternative mentioned above won't work since user has two config sources, not one.

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

Successfully merging this pull request may close these issues.

4 participants