Skip to content
Snippets Groups Projects
Commit bfe5b2cd authored by Yan Grange's avatar Yan Grange :wave:
Browse files

Fix casting in days to seconds computation

parent f58333db
No related branches found
No related tags found
1 merge request!14Fix small typo in the client code
...@@ -23,7 +23,7 @@ else: ...@@ -23,7 +23,7 @@ else:
running_in_dlaas = True running_in_dlaas = True
class NotInDLaaSError(RuntimeError): class NotInDLaaSError(RuntimeError):§
"""Exception raised when functions are executed """Exception raised when functions are executed
outside the Data Lake as a Service environment. outside the Data Lake as a Service environment.
Inherits from RuntimeError. Inherits from RuntimeError.
...@@ -91,7 +91,7 @@ class Rucio(BaseConnector): ...@@ -91,7 +91,7 @@ class Rucio(BaseConnector):
active_rules = set() active_rules = set()
active_dids = set() active_dids = set()
lifetime = ( lifetime = (
os.environ["RUCIO_REPLICATION_RULE_LIFETIME_DAYS"] * 24 * 60 * 60 int(os.environ["RUCIO_REPLICATION_RULE_LIFETIME_DAYS"]) * 24 * 60 * 60
) # in seconds ) # in seconds
local_RSE = os.environ["RUCIO_DESTINATION_RSE"] local_RSE = os.environ["RUCIO_DESTINATION_RSE"]
local_basepath = os.environ["RUCIO_RSE_MOUNT_PATH"] local_basepath = os.environ["RUCIO_RSE_MOUNT_PATH"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment