turns out properties are not callable
authorJan Szejko <jan.szejko@gmail.com>
Mon, 4 Jul 2016 10:43:50 +0000 (12:43 +0200)
committerJan Szejko <jan.szejko@gmail.com>
Mon, 4 Jul 2016 10:43:50 +0000 (12:43 +0200)
apps/catalogue/models/book.py
apps/catalogue/models/chunk.py

index 6f47642..4c35e68 100755 (executable)
@@ -365,10 +365,10 @@ class Book(models.Model):
 
     def refresh(self):
         """This should be done offline."""
 
     def refresh(self):
         """This should be done offline."""
-        self.short_html()
-        self.single()
-        self.new_publishable()
-        self.published()
+        self.short_html
+        self.single
+        self.new_publishable
+        self.published
 
     # Materializing & publishing
     # ==========================
 
     # Materializing & publishing
     # ==========================
index b8c5674..df6370d 100755 (executable)
@@ -122,6 +122,6 @@ class Chunk(dvcs_models.Document):
 
     def refresh(self):
         """This should be done offline."""
 
     def refresh(self):
         """This should be done offline."""
-        self.changed()
-        self.hidden()
-        self.short_html()
+        self.changed
+        self.hidden
+        self.short_html