From a2755d2d1a111ad4e55f88a166a5b02856d363cd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 8 Jun 2010 08:16:41 +0000 Subject: Updated files to match PEP 257 git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5904 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/TCheetah.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/Server/Plugins/TCheetah.py') diff --git a/src/lib/Server/Plugins/TCheetah.py b/src/lib/Server/Plugins/TCheetah.py index 8a0369eee..91c830620 100644 --- a/src/lib/Server/Plugins/TCheetah.py +++ b/src/lib/Server/Plugins/TCheetah.py @@ -17,7 +17,7 @@ except: class TemplateFile: - '''Template file creates Cheetah template structures for the loaded file''' + """Template file creates Cheetah template structures for the loaded file.""" def __init__(self, name, specific, encoding): self.name = name @@ -27,7 +27,7 @@ class TemplateFile: self.searchlist = dict() def handle_event(self, event): - '''Handle all fs events for this template''' + """Handle all fs events for this template.""" if event.code2str() == 'deleted': return try: @@ -40,7 +40,7 @@ class TemplateFile: logger.error(perror.report()) def bind_entry(self, entry, metadata): - '''Build literal file information''' + """Build literal file information.""" self.template.metadata = metadata self.searchlist['metadata'] = metadata self.template.path = entry.get('realname', entry.get('name')) @@ -65,7 +65,7 @@ class TemplateFile: class TCheetah(Bcfg2.Server.Plugin.GroupSpool): - '''The TCheetah generator implements a templating mechanism for configuration files''' + """The TCheetah generator implements a templating mechanism for configuration files.""" name = 'TCheetah' __version__ = '$Id$' __author__ = 'bcfg-dev@mcs.anl.gov' -- cgit v1.2.3-1-g7c22