# HG changeset patch # User casties # Date 1312398304 -7200 # Node ID 611b6df708406fdad6fa483ce007b57225df6f15 # Parent ba617e755c56cff2f3d54f4a28c7654ae0c20041 niceification diff -r ba617e755c56 -r 611b6df70840 MetaDataFolder.py --- a/MetaDataFolder.py Tue Aug 02 18:28:39 2011 +0200 +++ b/MetaDataFolder.py Wed Aug 03 21:05:04 2011 +0200 @@ -190,11 +190,13 @@ def getCopyrightData(self, path=None, dom=None, recursive=1, all=True): """returns contents of copyright tag as dict""" + # information is two tags deep - recursive=1 return self.getXmlPathData('resource/meta/access-conditions/copyright', path=path, dom=dom, recursive=recursive, all=all) - def getCopyrightFormatted(self, template, path=None, dom=None, data=None, all=True): + def getCopyrightFormatted(self, template, path=None, dom=None, data=None, recursive=1, all=True): """returns formatted contents of access tag""" - return self.getXmlPathFormatted('resource/meta/access-conditions/copyright', template, path=path, dom=dom, data=data, all=all) + # information is two tags deep - recursive=1 + return self.getXmlPathFormatted('resource/meta/access-conditions/copyright', template, path=path, dom=dom, data=data, recursive=recursive, all=all) def getBibData(self, path=None, dom=None): """returns contents of bib tag as dict"""