MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit 8fdb0d23 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Efficient comprehension list in __shift_initial() & __shift_final()

parent c5bdda40
......@@ -517,21 +517,20 @@ class CLUnfolder(object):
"""
Shift initialisation condition
"""
nic = []
for clause in self.__initial_constraints:
shift_c = self.__shift_clause(clause)
nic.append(shift_c)
self.__initial_constraints = nic
self.__initial_constraints = \
[self.__shift_clause(clause)
for clause in self.__initial_constraints]
def __shift_final(self):
"""
Shift final property
"""
nfc = []
for clause in self.__final_constraints:
shift_c = self.__shift_clause(clause)
nfc.append(shift_c)
self.__final_constraints = nfc
self.__final_constraints = \
[self.__shift_clause(clause)
for clause in self.__final_constraints]
def __shift_invariant(self):
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment