Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Aug 11, 2019
1 parent 96dbcee commit 7f9715e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion eNMS/models/automation.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ def compute_devices(self, payload: dict) -> Set["Device"]:

def close_connection_cache(self) -> None:
for library in ("netmiko", "napalm"):
print(self.runtime, controller.connections_cache[library])
connections = controller.connections_cache[library].pop(self.runtime, None)
if not connections:
continue
Expand Down
4 changes: 3 additions & 1 deletion eNMS/templates/forms/job_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,9 @@
<label class="hide-run">Skip this Job Regardless</label>
</div>
</fieldset>
<label class="hide-run">Skip Job If Python Query evaluates to True</label>
<label class="hide-run"
>Skip Job If Python Query evaluates to True</label
>
<div class="form-group">
{{ form.skip_python_query(id=form_type + '-skip_python_query',
class="form-control hide-run add-id") }}
Expand Down
6 changes: 3 additions & 3 deletions eNMS/templates/pages/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
{{ service_table_form.services(id="service-type",
class="form-control") }}
</button>
{% endif %} {% if type not in ("configuration", "run", "syslog") %} {% set
func = "openServicePanel" if type == "service" else "showTypePanel"
%}
{% endif %} {% if type not in ("configuration", "run", "syslog") %}
{% set func = "openServicePanel" if type == "service" else
"showTypePanel" %}
<button
class="btn btn-primary btn-file"
onclick="{{ func }}('{{ type }}')"
Expand Down

0 comments on commit 7f9715e

Please sign in to comment.