From 30b28428fb3d5c50ff0cc05551dce08f03793b39 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 6 Apr 2012 14:12:37 -0400 Subject: [PATCH] Fix storage.load_person doctest typo (actually print the PGP key). --- pygrader/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygrader/storage.py b/pygrader/storage.py index 9e0a521..db02f20 100644 --- a/pygrader/storage.py +++ b/pygrader/storage.py @@ -195,7 +195,7 @@ def load_person(name, data={}): ... 'emails': 'g@grey.edu, g@greyhavens.net', ... 'pgp-key': '0x0123456789ABCDEF', ... }) - >>> print('{0.name}: {0.emails}'.format(p)) + >>> print('{0.name}: {0.emails} | {0.pgp_key}'.format(p)) Gandalf: ['g@grey.edu', 'g@greyhavens.net'] | 0x0123456789ABCDEF >>> p = load_person(name='Gandalf') >>> print('{0.name}: {0.emails} | {0.pgp_key}'.format(p)) -- 2.26.2