diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-03 10:41:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-05 10:36:53 -0800 |
commit | ff73b02a7203623e5edfaaa10df17eaa63cf4ed3 (patch) | |
tree | d32fbf33c74a0a9c60f3676d1aa46bb6812fa757 /bitbake/lib/bb/monitordisk.py | |
parent | 082cc604f5eb1a7f6d3c4dda01154cfa93b0d660 (diff) | |
download | poky-ff73b02a7203623e5edfaaa10df17eaa63cf4ed3.tar.gz |
meta/classes: Convert to use appendVar and appendVarFlags
(From OE-Core rev: 3b57de68e70e77dbc03c0616a83a29a2e99e40b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/monitordisk.py')
-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 04f090cbe6..9baba5e73b 100644 --- a/bitbake/lib/bb/monitordisk.py +++ b/bitbake/lib/bb/monitordisk.py | |||
@@ -136,7 +136,7 @@ def getInterval(configuration): | |||
136 | 136 | ||
137 | """ Get the disk space interval """ | 137 | """ Get the disk space interval """ |
138 | 138 | ||
139 | interval = configuration.getVar("BB_DISKMON_WARNINTERVAL", 1) | 139 | interval = configuration.getVar("BB_DISKMON_WARNINTERVAL", True) |
140 | if not interval: | 140 | if not interval: |
141 | # The default value is 50M and 5K. | 141 | # The default value is 50M and 5K. |
142 | return 50 * 1024 * 1024, 5 * 1024 | 142 | return 50 * 1024 * 1024, 5 * 1024 |
@@ -170,7 +170,7 @@ class diskMonitor: | |||
170 | 170 | ||
171 | self.enableMonitor = False | 171 | self.enableMonitor = False |
172 | 172 | ||
173 | BBDirs = configuration.getVar("BB_DISKMON_DIRS", 1) or None | 173 | BBDirs = configuration.getVar("BB_DISKMON_DIRS", True) or None |
174 | if BBDirs: | 174 | if BBDirs: |
175 | self.devDict = getDiskData(BBDirs, configuration) | 175 | self.devDict = getDiskData(BBDirs, configuration) |
176 | if self.devDict: | 176 | if self.devDict: |