mirror of
https://github.com/frappe/bench.git
synced 2025-01-25 07:58:24 +00:00
Fixes bench release github username error (#406)
* ran 2to3 script * Correct urllib.parse import * Backward compatible urllib import * removed test_setup_production_v6 * Fix bug global hashlib is not defined (#399) * Don't need $query_string (#390) * removed semicolon, click.prompt adds it
This commit is contained in:
parent
485d10089a
commit
de0d88c0fa
@ -128,7 +128,7 @@ server {
|
|||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
;
|
;
|
||||||
|
|
||||||
return 301 https://$host$request_uri?$query_string;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -38,7 +38,7 @@ def validate(bench_path):
|
|||||||
github_password = config.get('github_password')
|
github_password = config.get('github_password')
|
||||||
|
|
||||||
if not github_username:
|
if not github_username:
|
||||||
github_username = input('Username: ')
|
github_username = click.prompt('Username', type=str)
|
||||||
|
|
||||||
if not github_password:
|
if not github_password:
|
||||||
github_password = getpass.getpass()
|
github_password = getpass.getpass()
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import os, sys, shutil, subprocess, logging, itertools, requests, json, platform, select, pwd, grp, multiprocessing
|
import os, sys, shutil, subprocess, logging, itertools, requests, json, platform, select, pwd, grp, multiprocessing, hashlib
|
||||||
from distutils.spawn import find_executable
|
from distutils.spawn import find_executable
|
||||||
import bench
|
import bench
|
||||||
from bench import env
|
from bench import env
|
||||||
|
Loading…
x
Reference in New Issue
Block a user