diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2014-08-20 08:23:27 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-24 10:00:55 +0100 |
commit | 587b144ee409d444494d8d7f2d1c53ede8f7c953 (patch) | |
tree | 611ecb4b57b8acb0fbcfc97b4de3fc35dbdcc8fb /lib/bb/monitordisk.py | |
parent | 984ad90b2f1e29634dc79803a4a0404ab0534039 (diff) | |
download | bitbake-contrib-587b144ee409d444494d8d7f2d1c53ede8f7c953.tar.gz |
lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/monitordisk.py')
-rw-r--r-- | lib/bb/monitordisk.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/bb/monitordisk.py b/lib/bb/monitordisk.py index fca43eefd..6b0368258 100644 --- a/lib/bb/monitordisk.py +++ b/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 |