b8c46f2 Modernize number literals

30 files Authored by pviktori 4 years ago , Committed by jcholast 4 years ago ,
30 files changed. 92 lines added. 92 lines removed.
API.txt
file modified
+3 -3
contrib/RHEL4/ipachangeconf.py
file modified
+2 -2
daemons/dnssec/ipa-dnskeysyncd
file modified
+1 -1
install/share/copy-schema-to-ca.py
file modified
+1 -1
ipa-client/ipa-install/ipa-client-install
file modified
+4 -4
ipa-client/ipaclient/ipa_certupdate.py
file modified
+1 -1
ipa-client/ipaclient/ipachangeconf.py
file modified
+2 -2
ipalib/plugins/dns.py
file modified
+1 -1
ipalib/plugins/trust.py
file modified
+1 -1
ipapython/certdb.py
file modified
+5 -5
ipapython/certmonger.py
file modified
+2 -2
ipapython/ipa_log_manager.py
file modified
+1 -1
ipaserver/install/bindinstance.py
file modified
+1 -1
ipaserver/install/cainstance.py
file modified
+5 -5
ipaserver/install/certs.py
file modified
+2 -2
ipaserver/install/dnskeysyncinstance.py
file modified
+9 -9
ipaserver/install/dsinstance.py
file modified
+3 -3
ipaserver/install/httpinstance.py
file modified
+11 -11
ipaserver/install/ipa_backup.py
file modified
+4 -4
ipaserver/install/ipa_replica_prepare.py
file modified
+2 -2
ipaserver/install/ipa_restore.py
file modified
+7 -7
ipaserver/install/ipa_server_certinstall.py
file modified
+3 -3
ipaserver/install/krbinstance.py
file modified
+2 -2
ipaserver/install/odsexporterinstance.py
file modified
+1 -1
ipaserver/install/opendnssecinstance.py
file modified
+8 -8
ipaserver/install/server/install.py
file modified
+3 -3
ipaserver/install/server/replicainstall.py
file modified
+2 -2
ipaserver/install/server/upgrade.py
file modified
+1 -1
ipatests/test_ipaserver/test_otptoken_import.py
file modified
+3 -3
ipatests/test_xmlrpc/test_dns_plugin.py
file modified
+1 -1
    Modernize number literals
    
    Use Python-3 compatible syntax, without breaking compatibility with py 2.7
    
    - Octals literals start with 0o to prevent confusion
    - The "L" at the end of large int literals is not required as they use
      long on Python 2 automatically.
    - Using 'int' instead of 'long' for small numbers is OK in all cases except
      strict type checking checking, e.g. type(0).
    
    https://fedorahosted.org/freeipa/ticket/4985
    
    Reviewed-By: Jan Cholasta <jcholast@redhat.com>
    
        
file modified
+3 -3
file modified
+1 -1
file modified
+1 -1
file modified
+5 -5
file modified
+2 -2
file modified
+1 -1
file modified
+2 -2