From 5a3946fced6724fb1358128d601db271aa45f1b0 Mon Sep 17 00:00:00 2001 From: Viktor Kovtun <viktor.kovtun@id.ethz.ch> Date: Fri, 20 Aug 2021 14:34:17 +0200 Subject: [PATCH] SSDM-11382 Fixing a possible source of error in the integration-tests Jenkins build. --- pybis/src/python/pybis/pybis.py | 2 +- pybis/src/python/pybis/things.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pybis/src/python/pybis/pybis.py b/pybis/src/python/pybis/pybis.py index 31b1d5bc621..85b9e439f42 100644 --- a/pybis/src/python/pybis/pybis.py +++ b/pybis/src/python/pybis/pybis.py @@ -104,7 +104,7 @@ LOG_DEBUG = 7 DEBUG_LEVEL = LOG_NONE def now(): - return time.time_ns() // 1000000 + return time.time() def get_search_type_for_entity(entity, operator=None): """Returns a dictionary containing the correct search criteria type diff --git a/pybis/src/python/pybis/things.py b/pybis/src/python/pybis/things.py index 216ef933248..bceccba8255 100644 --- a/pybis/src/python/pybis/things.py +++ b/pybis/src/python/pybis/things.py @@ -52,14 +52,12 @@ class Things(): @property def df(self): if self.__df is None and self.__df_initializer is not None: - print(">>>__df INITIALIZED<<<") self.__df = self.__df_initializer(attrs=self.__attrs, props=self.__props, response=self.response) return self.__df @property def objects(self): if self.__objects is None and self.__objects_initializer is not None: - print(">>>__objects INITIALIZED<<<") self.__objects = self.__objects_initializer(response=self.response) return self.__objects -- GitLab