aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Murdoch <Steven.Murdoch@cl.cam.ac.uk>2009-02-16 00:12:25 +0000
committerSteven Murdoch <Steven.Murdoch@cl.cam.ac.uk>2009-02-16 00:12:25 +0000
commitffc5f2cee84d8ccee27629a3d5a186ef1cf739db (patch)
tree8f1fe0897632290fbc3e6c028f018b6ebb6e74c0
parentaaf78f11d361dc6bcb829b30a1600a6762289431 (diff)
downloadanonbib-ffc5f2cee84d8ccee27629a3d5a186ef1cf739db.tar.gz
Treat mastersthesis entries differently from phdthesis
svn:r312
-rw-r--r--BibTeX.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BibTeX.py b/BibTeX.py
index 41843bc..c87cb12 100644
--- 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"]