summaryrefslogtreecommitdiff
path: root/pkg/utils.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-09-24 12:44:28 -0400
committerKali Kaneko <kali@leap.se>2015-09-25 14:27:52 -0400
commit34573a93a19d1d157a271c4ebdbb76ff5a7d1e63 (patch)
treeebd859e08fdf3a4588302939549edc4d2e029896 /pkg/utils.py
parentcce42536ac2c7588a9df2f6e012bb8991f8bbd75 (diff)
[refactor] improve readability
Improve readability of operations on generic keys, by assigning the class matching the type of key (_wrapper_map[ktype]) at the beginning of each block. in the future, we could pass the type of key (only PGP keys being used at the moment) on initialization of the Keymanager, so we don't have to pass the ktype on each method call.
Diffstat (limited to 'pkg/utils.py')
0 files changed, 0 insertions, 0 deletions