On Wed, Sep 10, 2008 at 05:02:04PM -0500, Shawn Walker wrote:

> >> beadm.py: You might consider using our misc.py bytes_to_str method
> >> instead of rolling your own in __convert_size_of_be_to_string(self,
> >> be_size). I'm guessing that what we have should be sufficient, or can be
> >> made to do what you need it to do.
> > 
> > Good to know. I didn't wanted to depend on more code from IPS, since 
> > this would introduce risk if the misc.py bytes_to_str would be changed 
> > or renamed. What do you think?
> 
> If it gets renamed by us, it's our responsibility to fix it.  If it gets 
> changed, that's on purpose.  Either way, using that function will be 
> good since it will ensure that the gui and cli represent sizes of 
> "things" the same way.

+1

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

Reply via email to