diff options
author | Leandro Lucarella <leandro.lucarella@sociomantic.com> | 2014-07-24 16:27:36 +0200 |
---|---|---|
committer | Mihails Strasuns <mihails.strasuns@sociomantic.com> | 2014-09-25 14:07:47 +0200 |
commit | 017a4cadbbdbe8ed3deadcf578b8d0d20f8172f5 (patch) | |
tree | cf3f7d9af2486fa07b02cb103db2036cc3ff3a2c | |
parent | 03aa90dee2f37c048abcc97c21be2a0891b99848 (diff) |
setup: Use the configured username if present
-rwxr-xr-x | git-hub | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -651,7 +651,7 @@ class SetupCmd (object): not sys.stdin.isatty(): die("Can't perform an interactive setup outside a tty") if username is None: - username = getpass.getuser() + username = config.username or getpass.getuser() reply = raw_input('GitHub username [%s]: ' % username) if reply: username = reply |