Browse Source

Changed method name.

Taddeus Kroes 14 years ago
parent
commit
7c41d0d67f
1 changed files with 5 additions and 5 deletions
  1. 5 5
      cache.py

+ 5 - 5
cache.py

@@ -157,15 +157,15 @@ class Cache:
 
         return self.cached + h.hexdigest()
 
-    def concatenate(self):
-        contents = ''
+    def content(self):
+        content = ''
 
         for path in self.files:
             f = open(path, 'r')
-            contents += f.read()
+            content += f.read()
             f.close()
 
-        return contents
+        return content
 
     def output(self):
         """"""
@@ -191,7 +191,7 @@ class Cache:
         if server_modified:
             self.save_administration(admin)
 
-            content = self.concatenate()
+            content = self.content()
             f = open(path, 'w')
             f.write(content)
             f.close()