fix AttributeError
[sfa.git] / sfa / trust / credential.py
index 9ccf18f..8631f1b 100644 (file)
@@ -276,7 +276,7 @@ class Credential(object):
     def get_subject(self):
         if not self.gidObject:
             self.decode()
-        return self.gidObject.get_printable_subject()
+        return self.gidObject.get_subject()
 
     # sounds like this should be __repr__ instead ??
     def get_summary_tostring(self):