From 156915f26ffe6e4619800aa7545c42ee9fc4e4d2 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Thu, 5 Sep 2019 08:08:17 +0100 Subject: [PATCH] cpuidle: fix exist() --> exists() typo. --- devlib/module/cpuidle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/module/cpuidle.py b/devlib/module/cpuidle.py index a837238..18731c8 100644 --- a/devlib/module/cpuidle.py +++ b/devlib/module/cpuidle.py @@ -174,6 +174,6 @@ class Cpuidle(Module): def get_governor(self): path = self.target.path.join(self.root_path, 'current_governor_ro') - if not self.target.path.exist(path): + if not self.target.path.exists(path): path = self.target.path.join(self.root_path, 'current_governor') return self.target.read_value(path)