[apparmor] [patch][utils] Refractor prompts to class
Kshitij Gupta
kgupta8592 at gmail.com
Wed Sep 10 09:49:21 UTC 2014
Hello,
In keeping with the idea to make the less Perl-ish and more OOP style
(in hope to get more Pythonic). I thought it was a simple place to
start off with.
Any suggestions and changes for the patch are welcome.
The following patch:
- creates a class for prompt questions moving away from Perl hash hack
for the purpose.
- moves some functions to the methods for that class
- fix options being incorrectly passed to questionPrompt in aa-mergeprof
Due to the functions being moved around the patch is a bit long.
Basic testing done with logprof.
Regards,
Kshitij Gupta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ui_refractor.patch
Type: text/x-patch
Size: 42415 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140910/4024b0ae/attachment-0001.bin>
More information about the AppArmor
mailing list