Skip to content

Commit

Permalink
chore: remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampouille committed Sep 19, 2023
1 parent b6cc80b commit 8befdfd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __str__(self):

# set a value in the 'buffer' if this is not already present
def add(self, key, value):
print("Adding %s for %s:\n%s" % (value, key, self), file=sys.stderr)
#print("Adding %s for %s:\n%s" % (value, key, self), file=sys.stderr)
if key not in self.written or value not in self.written[key]:
if key in self.to_write:
self.to_write[key].add(value)
Expand Down
2 changes: 0 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ <h1 class="modal-title fs-5" id="yamlPolicyModalLabel">Policy Manifest</h1>
url: "{{ url_for('remove_binary') }}",
data: { ns: ns, wl: wl, binary: binary },
success: function (response) {
console.log("Response:", response);
window.location.reload();
},
error: function (error) {
Expand All @@ -101,7 +100,6 @@ <h1 class="modal-title fs-5" id="yamlPolicyModalLabel">Policy Manifest</h1>
type: "GET",
url: "/show_policy/" + ns + "/" + wl,
success: function (response) {
console.log("Response:", response);
// Inject yaml in the modal
yaml.textContent = response;
hljs.highlightAll();
Expand Down

0 comments on commit 8befdfd

Please sign in to comment.