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: no longer prompted to login on logout #253

Merged
merged 1 commit into from
Nov 28, 2015

Conversation

srossross
Copy link
Contributor

  • catch unauthorized error when performing logout.
  • don't prompt for interactive login when stdin is not a tty

@srossross
Copy link
Contributor Author

This is spawned from #237

@@ -15,7 +15,11 @@ def main(args):
if bs.token:
# TODO: named 'application' because I was using the github model
# Change it to name once we release the latest version of binstar server
bs.remove_authentication()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this comment about? should that be removed?

@dsludwig
Copy link
Contributor

LGTM

srossross added a commit that referenced this pull request Nov 28, 2015
Fix: no longer prompted to login on logout
@srossross srossross merged commit 5e60da6 into develop Nov 28, 2015
@srossross srossross deleted the fix/237_login_on_logout branch November 28, 2015 00:19
@srossross srossross restored the fix/237_login_on_logout branch November 30, 2015 22:43
@srossross srossross deleted the fix/237_login_on_logout branch November 30, 2015 22:44
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

Successfully merging this pull request may close these issues.

2 participants