Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' into python3
Browse files Browse the repository at this point in the history
  • Loading branch information
edsu committed Apr 3, 2014
2 parents fde1bc1 + 755967b commit bcc6c27
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pymarc/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,11 +493,17 @@ def physicaldescription(self):
def publisher(self):
if self['260']:
return self['260']['b']
if self['264']:
return self['264']['b']

return None

def pubyear(self):
if self['260']:
return self['260']['c']
elif self['264']:
return self['264']['c']

return None

def map_marc8_record(r):
Expand Down

0 comments on commit bcc6c27

Please sign in to comment.