Skip to content

Commit

Permalink
Fix paramiko connection
Browse files Browse the repository at this point in the history
  • Loading branch information
onegreyonewhite committed Jul 20, 2017
1 parent 8947fda commit f4202af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion polemarch/static/js/pmHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ pmHistory.loadLines = function(item_id, opt)

var def = new $.Deferred();
jQuery.ajax({
url: "/api/v1/history/"+item_id+"/lines",
url: "/api/v1/history/"+item_id+"/lines/",
type: "GET",
contentType:'application/json',
data: opt,
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ celery<=4.0.3
six
sqlalchemy
ansible>=2.1, <=2.2.1
paramiko==2.1.2
paramiko<=2.2.1
django-docs==0.2.1

# API
Expand Down
2 changes: 1 addition & 1 deletion rpm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ find %{buildroot} -name "RECORD" -exec rm -rf {} \;
# Change the virtualenv path to the target installation direcotry.
venvctrl-relocate --source=%{venv_dir} --destination=/%{venv_install_dir}
# Strip native modules as they contain buildroot paths in their debug information
find %{venv_dir}/lib -type f -name "*.so" | grep -v _cffi_backend | xargs -r strip
# find %{venv_dir}/lib -type f -name "*.so" | grep -v _cffi_backend | xargs -r strip
find %{venv_dir}/lib -type f -name "*.c" -print0 | xargs -0 rm -rf
# Setup init scripts
mkdir -p $$RPM_BUILD_ROOT/etc/systemd/system
Expand Down

0 comments on commit f4202af

Please sign in to comment.