vmware/pyvmomi

pyVmomi should never use 'print'

Open

#68 aperta il 26 giu 2014

Vedi su GitHub
 (0 commenti) (0 reazioni) (1 assegnatario)Python (807 fork)batch import
enhancementhelp wantedwishlist

Metriche repository

Star
 (2141 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

https://docs.python.org/2/library/warnings.html

pyVmomi is a deep level library and it should avoid making use of logging or printing features directly which are application elements we should leave 100% in control of the end application developer.

To close this issue:

  • remove all use of 'print'
  • introduce use of warnings to replace 'print'
  • introduce verbose logging of SOAP messages

Guida contributor