소스 검색

Changed method name.

Taddeus Kroes 14 년 전
부모
커밋
7c41d0d67f
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  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()