11 lines
262 B
Python
11 lines
262 B
Python
from generation.isPipeRecent import *
|
|
|
|
def fieldFormat(fmtPlain, fmtRecent, name, structure):
|
|
fmt = fmtPlain
|
|
if (
|
|
isPipeRecent(name, structure.core) or
|
|
isPipeRecent(name, structure.service)
|
|
):
|
|
fmt = fmtRecent
|
|
return fmt
|