« Previous | Next » 

Revision 857a05fe

ID857a05fe5a5c7b38844a6b6ee000b36936f6732e

Added by Petr Pudlak over 9 years ago

Disable deprecation warnings in PyRPC

Since on Debian Squeeze we have TH version 2.4, we need to use 'report'
instead of 'reportWarning/reportError'. However, 'report' is deprecated
in later versions, therefore we need to disable the warning.

The warning doesn't manifest on Debian Squeeze or Wheezy, but causes
compilation failure on Ubuntu 13.

In future, when we will be able to rely on to TH 2.8 or later, we will
be able to replace 'report False' with 'reportWarning' and remove the
option.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences