diff options
| -rw-r--r-- | bitbake/lib/bb/monitordisk.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/monitordisk.py b/bitbake/lib/bb/monitordisk.py index e7c07264a8..98f2109ed2 100644 --- a/bitbake/lib/bb/monitordisk.py +++ b/bitbake/lib/bb/monitordisk.py | |||
| @@ -59,7 +59,7 @@ def getMountedDev(path): | |||
| 59 | pass | 59 | pass |
| 60 | return None | 60 | return None |
| 61 | 61 | ||
| 62 | def getDiskData(BBDirs, configuration): | 62 | def getDiskData(BBDirs): |
| 63 | 63 | ||
| 64 | """Prepare disk data for disk space monitor""" | 64 | """Prepare disk data for disk space monitor""" |
| 65 | 65 | ||
| @@ -168,7 +168,7 @@ class diskMonitor: | |||
| 168 | 168 | ||
| 169 | BBDirs = configuration.getVar("BB_DISKMON_DIRS") or None | 169 | BBDirs = configuration.getVar("BB_DISKMON_DIRS") or None |
| 170 | if BBDirs: | 170 | if BBDirs: |
| 171 | self.devDict = getDiskData(BBDirs, configuration) | 171 | self.devDict = getDiskData(BBDirs) |
| 172 | if self.devDict: | 172 | if self.devDict: |
| 173 | self.spaceInterval, self.inodeInterval = getInterval(configuration) | 173 | self.spaceInterval, self.inodeInterval = getInterval(configuration) |
| 174 | if self.spaceInterval and self.inodeInterval: | 174 | if self.spaceInterval and self.inodeInterval: |
