Index: /main/waeup.aaue/trunk/src/waeup/aaue/students/reports/session_results_presentation.py
===================================================================
--- /main/waeup.aaue/trunk/src/waeup/aaue/students/reports/session_results_presentation.py	(revision 14507)
+++ /main/waeup.aaue/trunk/src/waeup/aaue/students/reports/session_results_presentation.py	(revision 14508)
@@ -33,12 +33,22 @@
         site = grok.getSite()
         degrees_dict = getUtility(IKofaUtils).DEGREES_DICT
-        certificate = site[
-            'faculties'][self.faccode][self.depcode].certificates[self.certcode]
-        return """I present to Senate, on behalf of the Faculty Board, the results of
-courses taught and examinations held this academic session.
-
+        if self.certcode == 'all':
+            text = """I present to Senate, on behalf of the Faculty Board,
+the results of courses taught and examinations held this academic session.
 The following candidate(s) have/have not satisfied the degree requirements
-of the Faculty and have/have not qualified for the award of a %s as stated below:
-""" % degrees_dict[certificate.degree]
+of the Faculty and have/have not qualified for the award of an academic
+degree as stated below:
+"""
+        else:
+            certificate = site['faculties'][self.faccode][
+                self.depcode].certificates[self.certcode]
+            degree = degrees_dict.get(certificate.degree, '[undefined]')
+            text = """I present to Senate, on behalf of the Faculty Board,
+the results of courses taught and examinations held this academic session.
+The following candidate(s) have/have not satisfied the degree requirements
+of the Faculty and have/have not qualified for the award of a %s as stated
+below:
+""" % degree
+        return text
 
 #    note = """
@@ -51,5 +61,6 @@
     signatures = ['Head of Department', 'External Examiner', 'Dean of Faculty']
 
-class CustomSessionResultsPresentationGenerator(SessionResultsPresentationGenerator):
+class CustomSessionResultsPresentationGenerator(
+    SessionResultsPresentationGenerator):
 
     def generate(self, site, faccode=None, depcode=None, certcode=None,
