[Freeipa-devel] [PATCH] Modernize number literals

Petr Viktorin pviktori at redhat.com
Fri Jul 31 12:18:38 UTC 2015


On 07/31/2015 01:45 PM, Jan Cholasta wrote:
> Hi,
> 
> Dne 30.7.2015 v 16:14 Petr Viktorin napsal(a):
>> Hello,
>> This patch switches to Python3-compatible syntax for integer literals.
> 
> 1) API.txt needs to be updated.
>
> 2) You missed these:
> 
> daemons/dnssec/ipa-dnskeysyncd:58:os.umask(007)
> ipa-client/ipa-install/ipa-client-install:850:    os.chmod(target_fname,
> 0644)
> ipa-client/ipa-install/ipa-client-install:1019: os.chmod(target_fname,
> 0644)
> ipa-client/ipa-install/ipa-client-install:1113:    os.chmod(filename, 0644)
> ipa-client/ipa-install/ipa-client-install:1984:        os.chmod(CACERT,
> 0644)
> ipapython/log_manager.py:1099:   permission=0600,

Ah, right, thanks.

Updated patch attached.


-- 
Petr Viktorin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0670.2-Modernize-number-literals.patch
Type: text/x-patch
Size: 42113 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150731/38f5c179/attachment.bin>


More information about the Freeipa-devel mailing list