projects
/
pygrader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19de576
)
Fix storage.load_person doctest typo (actually print the PGP key).
author
W. Trevor King
<wking@drexel.edu>
Fri, 6 Apr 2012 18:12:37 +0000
(14:12 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 6 Apr 2012 18:12:37 +0000
(14:12 -0400)
pygrader/storage.py
patch
|
blob
|
history
diff --git
a/pygrader/storage.py
b/pygrader/storage.py
index 9e0a521636d27430c947071115fcb22c61271d89..db02f20d23b6af2b7c1f477523d9f5649d5cd9a1 100644
(file)
--- 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))