From dfb5010dd77863c2b67032dba7c1a2024bf965d0 Mon Sep 17 00:00:00 2001 From: Alex Meadows Date: Fri, 19 Jul 2019 12:18:05 -0400 Subject: [PATCH] Code Cleanup Cleaned up some things that were found by Codacy. --- README.md | 1 - process_tracker/utilities/data_store.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c21ebf1..6a2ed46 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,5 @@ Want to contribute? Check out our contributors guide! Found a bug? Have an idea for an improvement? Submit it into our [Issues tracker][2] - [1]: https://process-tracker.readthedocs.io/en/latest/ [2]: https://github.com/OpenDataAlex/process_tracker_python/issues \ No newline at end of file diff --git a/process_tracker/utilities/data_store.py b/process_tracker/utilities/data_store.py index 26efef0..7bfa196 100755 --- a/process_tracker/utilities/data_store.py +++ b/process_tracker/utilities/data_store.py @@ -529,9 +529,9 @@ def topic_updater( item.process_status_name = name self.logger.info("%s %s updated." % (topic, name)) elif topic == "process run": - """ - This option is ONLY for process runs that are in 'on hold' status and getting them out of 'on hold'. - """ + + # This option is ONLY for process runs that are in 'on hold' status and getting them out of 'on hold'. + self.logger.info("Testing if process run is on hold.") item = ( self.session.query(ProcessTracking)