Hi Jesse

Thanks for the review. I have fixed nit as suggested by you.

Regards
Nirmal

On 03/20/12 01:14, Jesse Butler wrote:

Nice work, Nirmal. Very clean.

Nit: you have a typo on line 69 ('method')... and, come to think of it, you could 
probably just drop "class method which sets" bit altogether. Up to you.

Otherwise, looks good!

/jb


On Mar 19, 2012, at 2:15 PM, Nirmal Agarwal wrote:

Hi all

Can I please get a code review for CR 7088824.

7088824 installadm gets Unhandled error when the output is piped to head

Webrev :
https://cr.opensolaris.org/action/browse/caiman/nirmal27/7088824/webrev/

Background :
When "head" process stops reading the output from the "installadm" command, it 
generates SIGPIPE signal which python converts into IOError.


Tests :

bash-4.1$ installadm list -p|head

Service Name    Profile
------------    -------
default-i386    S11U1-11-ai-profile-amina.xml
                S11U1-11-ai-profile-badile.xml
                S11U1-11-ai-profile-bremy.xml
                S11U1-11-ai-profile-chomutov.xml
                S11U1-11-ai-profile-divizna.xml
                S11U1-11-ai-profile-erebos.xml
                S11U1-11-ai-profile-gemini.xml
bash-4.1$ installadm list -m|head

Service/Manifest Name            Status    Criteria
---------------------            ------    --------
default-i386
   S11U1-11-manifest-amina                 mac = 00:0A:E4:26:DF:0B

   S11U1-11-manifest-badile                mac = 00:0A:5E:43:9D:8D

   S11U1-11-manifest-bremy                 mac = 00:0E:0C:08:1A:40


Thanks
Nirmal
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to