diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-11-29 16:06:11 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-11-29 16:06:11 +0000 |
commit | 0b4655904bd0293055cd7e150d89124c2a32e6b9 (patch) | |
tree | 8a714de08c4a6ac12f37fd840ac58c70c5f9b8da /morphlib | |
parent | f5f1bb20ed4bc8bf6dbb84d7defc2a4517aee33a (diff) | |
download | morph-0b4655904bd0293055cd7e150d89124c2a32e6b9.tar.gz |
Change method comments to docstrings
This also makes coverage.py be silent on Debian squeeze.
Diffstat (limited to 'morphlib')
-rw-r--r-- | morphlib/stagingarea.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/morphlib/stagingarea.py b/morphlib/stagingarea.py index f6d221ab..77eeab7d 100644 --- a/morphlib/stagingarea.py +++ b/morphlib/stagingarea.py @@ -120,7 +120,7 @@ class StagingArea(object): shutil.rmtree(self.dirname) def chroot_open(self, source): # pragma: no cover - # After setup, and before it's use as a chroot + '''Setup staging area for use as a chroot.''' assert self.builddirname == None and self.destdirname == None @@ -137,8 +137,11 @@ class StagingArea(object): return builddir, destdir def chroot_close(self): # pragma: no cover - # After it's use as a chroot is complete. - pass + '''Undo changes by chroot_open. + + This should be called after the staging area is no longer needed. + + ''' def runcmd(self, argv, **kwargs): # pragma: no cover '''Run a command in the staging area.''' |