Code tidy to ensure it complies with the Python coding standard (10/10 from PyLint).
This commit is contained in:
parent
2244ac497d
commit
d15d887a7f
|
@ -5,7 +5,8 @@ import blocklist
|
|||
import sys
|
||||
|
||||
class VarnishBlockList(blocklist.BlockList):
|
||||
"""New class to extend the main BlockList class for implementation with Varnish."""
|
||||
"""New class to extend the main BlockList class for
|
||||
implementation with Varnish."""
|
||||
def export(self):
|
||||
"""Exports blocklist addresses for use within Varnish."""
|
||||
print "acl block_list {"
|
||||
|
|
Loading…
Reference in a new issue