From d9d2df0d91a9819d95de586c4431c77c5e31a9b3 Mon Sep 17 00:00:00 2001
From: Karim Ahmed <ahmedk@exflqr13068.desy.de>
Date: Tue, 13 Aug 2019 10:23:57 +0200
Subject: [PATCH] version retrieval at creationtime

---
 cal_tools/cal_tools/tools.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cal_tools/cal_tools/tools.py b/cal_tools/cal_tools/tools.py
index 81a37a732..e470cc55e 100644
--- a/cal_tools/cal_tools/tools.py
+++ b/cal_tools/cal_tools/tools.py
@@ -498,6 +498,7 @@ def get_from_db(device, constant, condition, empty_constant,
                                                          device))
                 
                 r = metadata.retrieve(this_interface, timeout=timeout,
+                                      when=creation_time.isoformat(),
                                       meta_only=meta_only,
                                       version_info=version_info)
                 if version_info:
-- 
GitLab