File._load(): makes proto matches subclass definitions, add filename parameter

This commit is contained in:
Laurent Monin
2013-12-28 12:02:06 +01:00
parent 4b0239fc0c
commit e4852cf0d4

View File

@@ -144,7 +144,7 @@ class File(QtCore.QObject, Item):
def has_error(self):
return self.state == File.ERROR
def _load(self):
def _load(self, filename):
"""Load metadata from the file."""
raise NotImplementedError