[Freeipa-devel] [PATCH] 0060 Add warning when uninstalling active replica

Ana Krivokapic akrivoka at redhat.com
Tue Sep 3 13:14:35 UTC 2013


On 09/03/2013 08:25 AM, Martin Kosek wrote:
> On 09/02/2013 06:21 PM, Tomas Babej wrote:
>> On 09/02/2013 06:07 PM, Petr Viktorin wrote:
>>> On 08/29/2013 05:56 PM, Ana Krivokapic wrote:
>>>> Hello,
>>>>
>>>> This patch addresses ticket https://fedorahosted.org/freeipa/ticket/3867.
>>>>
>>> Patch works well.
>>> It's temping to restart the discussion about how to wrap text output from
>>> installation tools. Wrapping at 60 characters because it looks better in the
>>> code seems suboptimal.
>>> Does anyone remember if we established some guideline last time this came up?
>>>
>>>
>> I'm not sure if I'm missing something, but do we need a guideline here?
>>
>> I don't see any reason why not have best of the both worlds, using print as a
>> function we can wrap the text inside the parenthesis
>> with no effect on the output whatsoever. Or use print statement, but enclose
>> the text in parenthesis. Or use backslash.
>>
> Yes. But whatever we choose, we need to make sure that the resulting text is
> wrapped the same to avoid inconsistent output.
>
> IMO we should do our best to keep the text wrapped at 80 characters in new or
> updated texts. So I would prefer to have Ana's patch refactored a bit, to
> change wrapping of the resulting from 60 to 80 characters.
>
> Martin

Text is wrapped at 80 characters in the updated patch.

-- 
Regards,

Ana Krivokapic
Associate Software Engineer
FreeIPA team
Red Hat Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-akrivoka-0060-02-Add-warning-when-uninstalling-active-replica.patch
Type: text/x-patch
Size: 3284 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130903/a98ffa24/attachment.bin>


More information about the Freeipa-devel mailing list