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)
librarian/parser.py

index 113fbbe..12fffb3 100644 (file)
@@ -70,7 +70,7 @@ class WLDocument(object):
         if root_elem.tag != 'utwor':
             raise ValidationError("Invalid root element. Found '%s', should be 'utwor'" % root_elem.tag)
         if parse_dublincore:
-            self.book_info()
+            self.book_info
 
     @classmethod
     def from_string(cls, xml, *args, **kwargs):