Dan Kenigsberg has submitted this change and it was merged.
Change subject: More explicit octal values (pep-3127) ......................................................................
More explicit octal values (pep-3127)
Change 0XXX to 0oXXX so that that these values are more visibly octal and forwards compatible with Python 3.3+.
This change follows the spirit of: http://www.python.org/dev/peps/pep-3127/
"The default octal representation of integers is silently confusing to people unfamiliar with C-like languages. It is extremely easy to inadvertently create an integer object with the wrong value, because '013' means 'decimal 11', not 'decimal 13', to the Python language itself, which is not the meaning that most humans would assign to this literal."
Change-Id: Icc81c0ac52cc779511e49133aa669defeb47a3f1 Signed-off-by: Antoni S. Puimedon asegurap@redhat.com Reviewed-on: http://gerrit.ovirt.org/20534 Reviewed-by: Dan Kenigsberg danken@redhat.com --- M lib/vdsm/tool/transient.py M tests/fileUtilTests.py M tests/functional/storageTests.py M tests/functional/virtTests.py M tests/hooksTests.py M tests/miscTests.py M vds_bootstrap/setup M vds_bootstrap/vds_bootstrap.py M vdsm/netconf/ifcfg.py M vdsm/storage/blockVolume.py M vdsm/storage/fileSD.py M vdsm/storage/fileUtils.py M vdsm/storage/fileVolume.py M vdsm/storage/storageServer.py M vdsm/vdsm M vdsm/vm.py M vdsm_reg/createDaemon.py M vdsm_reg/vdsm-reg-setup.in 18 files changed, 38 insertions(+), 38 deletions(-)
Approvals: Antoni Segura Puimedon: Verified Dan Kenigsberg: Looks good to me, approved