From 4dae77c0cc671452b0d4c966f24fbcf95d4f248e Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 22 Sep 2021 15:08:22 +0200 Subject: [PATCH] fix C0201 --- dotdrop/cfg_yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotdrop/cfg_yaml.py b/dotdrop/cfg_yaml.py index 5741545..273b492 100644 --- a/dotdrop/cfg_yaml.py +++ b/dotdrop/cfg_yaml.py @@ -1308,7 +1308,7 @@ class CfgYaml: # the included profiles inc_profiles = [] - if self._profile and self._profile in self.profiles.keys(): + if self._profile and self._profile in self.profiles: pentry = self.profiles.get(self._profile) inc_profiles = pentry.get(self.key_profile_include, [])