Skip to content
Snippets Groups Projects
Commit 30695024 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

debug output

parent 0e71f1d9
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ import re ...@@ -39,7 +39,7 @@ import re
import caosdb as db import caosdb as db
from .guard import global_guard as guard from .guard import global_guard as guard
from .verbosity import INFO, VERBOSE from .verbosity import DEBUG, INFO, VERBOSE
ENTITIES = {} ENTITIES = {}
...@@ -180,6 +180,9 @@ class AbstractCFood(object): ...@@ -180,6 +180,9 @@ class AbstractCFood(object):
for el in self.to_be_updated: for el in self.to_be_updated:
print(el.name if el.name is not None else el.id) print(el.name if el.name is not None else el.id)
if self.verbosity >= DEBUG:
print(self.to_be_updated)
print("/"*60) print("/"*60)
guard.safe_update(self.to_be_updated) guard.safe_update(self.to_be_updated)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment