Skip to content

Commit

Permalink
Various changes after Fernando's review:
Browse files Browse the repository at this point in the history
- removed initLogger
- used .items() whenever possible
- checking for "online" status rather than "test" in the name
- renamed DQ2 variable
- renamed variables to full names (to become easily readable)
- removed put_log function and replaced with what we do with newer modules
  • Loading branch information
EdwardKaravakis committed Jan 31, 2024
1 parent 019ad64 commit e3f33f8
Show file tree
Hide file tree
Showing 2 changed files with 201 additions and 208 deletions.
2 changes: 1 addition & 1 deletion pandaserver/dataservice/EventPicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(self, taskBuffer, siteMapper, evpFileName, ignoreError):
self.token = datetime.datetime.now(datetime.timezone.utc).replace(tzinfo=None).isoformat(" ")
# logger
self.logger = LogWrapper(_logger, self.token)
self.pd2p = dyn_data_distributer.DynDataDistributer([], self.siteMapper, token=" ", logger=self.logger)
self.pd2p = dyn_data_distributer.DynDataDistributer([], self.siteMapper, token=" ")
self.userDatasetName = ""
self.creationTime = ""
self.params = ""
Expand Down
Loading

0 comments on commit e3f33f8

Please sign in to comment.