mirror of
https://github.com/ejwa/gitinspector.git
synced 2025-03-18 14:28:00 +01:00
Use https where possible.
Signed-off-by: Adam Waldenberg <adam.waldenberg@ejwa.se>
This commit is contained in:
parent
7b61a46d7c
commit
d6a2f33de5
2 changed files with 3 additions and 3 deletions
gitinspector
|
@ -80,7 +80,7 @@ def output_header():
|
|||
if __selected_format__ == "htmlembedded":
|
||||
jquery_js = ">" + __get_zip_file_content__("jquery.js")
|
||||
else:
|
||||
jquery_js = " src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js\">"
|
||||
jquery_js = " src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js\">"
|
||||
|
||||
print(html_header.format(title = _("Repository statistics for {0}").format(os.path.basename(basedir.get_basedir_git())),
|
||||
jquery = jquery_js,
|
||||
|
@ -91,7 +91,7 @@ def output_header():
|
|||
logo = logo.decode("utf-8", "replace"),
|
||||
logo_text = _("The output has been generated by {0} {1}. The statistical analysis tool"
|
||||
" for git repositories.").format(
|
||||
"<a href=\"http://gitinspector.googlecode.com\">gitinspector</a>",
|
||||
"<a href=\"https://gitinspector.googlecode.com\">gitinspector</a>",
|
||||
version.__version__),
|
||||
repo_text = _("Statistical information for the repository '{0}' was gathered on {1}.").format(
|
||||
os.path.basename(basedir. get_basedir_git()), localization.get_date()),
|
||||
|
|
|
@ -27,7 +27,7 @@ import hashlib
|
|||
|
||||
def get_url(email, size=20):
|
||||
md5hash = hashlib.md5(email.encode("utf-8").lower().strip()).hexdigest()
|
||||
base_url = "http://www.gravatar.com/avatar/" + md5hash
|
||||
base_url = "https://www.gravatar.com/avatar/" + md5hash
|
||||
params = None
|
||||
|
||||
if format.get_selected() == "html":
|
||||
|
|
Loading…
Add table
Reference in a new issue