commit 3dd3b8b04d14f9f82536c54d8920e194ea2ea29c
parent 517963f8bd0b753a62f9cbcf9dc45a60c54f8f26
Author: Steven Murdoch <Steven.Murdoch@cl.cam.ac.uk>
Date: Mon, 16 Feb 2009 00:12:25 +0000
Treat mastersthesis entries differently from phdthesis
svn:r312
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BibTeX.py b/BibTeX.py
@@ -461,7 +461,7 @@ class BibTeXEntry:
elif self.type == 'mastersthesis' or self.type == 'phdthesis':
if self.get('type'):
res = [self['type']]
- elif type == 'mastersthesis':
+ elif self.type == 'mastersthesis':
res = ["Masters's thesis"]
else:
res = ["Ph.D. thesis"]