diff --git a/docs/requirements.txt b/docs/requirements.txt index 654e1747d..76a927ad0 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,8 +1,8 @@ sphinx-me django==1.6 python-ldap +pycrypto==2.6.1 paramiko -pycrypto ecdsa>=0.11 MySQL-python django-uuidfield diff --git a/docs/jumpserver.sh b/docs/zzjumpserver.sh similarity index 100% rename from docs/jumpserver.sh rename to docs/zzjumpserver.sh diff --git a/jumpserver/views.py b/jumpserver/views.py index 0a73f140b..26769d085 100644 --- a/jumpserver/views.py +++ b/jumpserver/views.py @@ -182,7 +182,7 @@ def pages(posts, r): return contact_list, p, contacts, page_range, current_page, show_first, show_end -def is_latest(request): +def is_latest(): node = uuid.getnode() jsn = uuid.UUID(int=node).hex[-12:] with open(os.path.join(BASE_DIR, 'version')) as f: