diff options
author | 2014-08-20 08:23:27 -0400 | |
---|---|---|
committer | 2014-08-25 08:57:45 +0100 | |
commit | 6d08e5bb09293c03d8953831888c64d8eca889bf (patch) | |
tree | 7a2d7dff6f1db1324d84204a4c63669f59d23761 /bitbake/lib/bb/monitordisk.py | |
parent | 91083de4cb03bcb279ede3024cd2660b6c653808 (diff) | |
download | openembedded-core-contrib-6d08e5bb09293c03d8953831888c64d8eca889bf.tar.gz |
bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional.
(Bitbake rev: 587b144ee409d444494d8d7f2d1c53ede8f7c953)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
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 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/lib/bb/monitordisk.py b/bitbake/lib/bb/monitordisk.py index fca43eefd0..6b03682584 100644 --- a/bitbake/lib/bb/monitordisk.py +++ b/bitbake/lib/bb/monitordisk.py @@ -52,10 +52,10 @@ def getMountedDev(path): parentDev = os.stat(path).st_dev currentDev = parentDev # When the current directory's device is different from the - # parrent's, then the current directory is a mount point + # parent's, then the current directory is a mount point while parentDev == currentDev: mountPoint = path - # Use dirname to get the parrent's directory + # Use dirname to get the parent's directory path = os.path.dirname(path) # Reach the "/" if path == mountPoint: @@ -77,7 +77,7 @@ def getDiskData(BBDirs, configuration): """Prepare disk data for disk space monitor""" # Save the device IDs, need the ID to be unique (the dictionary's key is - # unique), so that when more than one directories are located in the same + # unique), so that when more than one directory is located on the same # device, we just monitor it once devDict = {} for pathSpaceInode in BBDirs.split(): @@ -187,11 +187,11 @@ class diskMonitor: if self.spaceInterval and self.inodeInterval: self.enableMonitor = True # These are for saving the previous disk free space and inode, we - # use them to avoid print too many warning messages + # use them to avoid printing too many warning messages self.preFreeS = {} self.preFreeI = {} - # This is for STOPTASKS and ABORT, to avoid print the message repeatly - # during waiting the tasks to finish + # This is for STOPTASKS and ABORT, to avoid printing the message + # repeatedly while waiting for the tasks to finish self.checked = {} for k in self.devDict: self.preFreeS[k] = 0 |