« Previous | Next » 

Revision 857a05fe


Added by Petr Pudlak over 10 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

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


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences