- for param, value in parameters.items():
- if re.match(parameter, parameter):
- in_env = True
- break
+ if parameters: # env file can be just parameters:
+ for param, value in parameters.items():
+ if re.match(parameter, param):
+ in_env = True
+ break