comparison MPIWGStaff.py @ 202:c3c834cf1a6d

minor bug in sho preprints
author dwinter
date Thu, 27 Jun 2013 12:26:00 +0200
parents 81a8177ca354
children 9ce5816e89b2
comparison
equal deleted inserted replaced
201:81a8177ca354 202:c3c834cf1a6d
830 #publicaitions typ ist gesetzt 830 #publicaitions typ ist gesetzt
831 831
832 if not ((entry[1] == publicationType) or (entry[1] == typesLongShort.get(publicationType,''))) : 832 if not ((entry[1] == publicationType) or (entry[1] == typesLongShort.get(publicationType,''))) :
833 #stimmt nicht dann weiter 833 #stimmt nicht dann weiter
834 continue; 834 continue;
835 835
836 pubs.append((selPub.escidocid,entry[0],entry[2],entry[3],entry[4])); 836 if len(entry)>4:
837 count+=1 837 pubs.append((selPub.escidocid,entry[0],entry[2],entry[3],entry[4]));
838 count+=1
838 839
839 return pubs 840 return pubs
840 841
841 return [] 842 return []
842 843