Minor: docs, style, code cleanup
authorAndrew Chadwick <andrewc-git@piffle.org>
Sun, 1 Jun 2014 01:55:31 +0000 (02:55 +0100)
committerAndrew Chadwick <andrewc-git@piffle.org>
Sun, 1 Jun 2014 23:14:23 +0000 (00:14 +0100)
commit1148582b9d037be2c15a52603c68c9849a2deb9b
tree2d8e3e499e600518cf0be056179d3665d4ede294
parent8f64dde4eb4117d27af08f4bf734cb805afc5f23
Minor: docs, style, code cleanup

* Minor docstring fixes & code style
* Code the layers notification stuff a little more robustly;
* Remove redundant test in rendering loop
lib/document.py
lib/layer.py