health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health] DeprecationWarning: With-statements now directly support multip


From: ronald munjoma
Subject: [Health] DeprecationWarning: With-statements now directly support multiple context managers
Date: Tue, 29 May 2012 13:32:45 +0200

Good day,

I am getting DeprecationWarning when running trytond. Is this just a warning or something to worry about?

address@hidden:~/demo$ python health_demo_server.py
No handlers could be found for logger "party"
/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/model/browse.py:172: DeprecationWarning: With-statements now directly support multiple context managers
  Transaction().set_context(self._context)):
/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/model/fields/reference.py:72: DeprecationWarning: With-statements now directly support multiple context managers
  Transaction().set_user(0)):
/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/ir/rule.py:203: DeprecationWarning: With-statements now directly support multiple context managers
  Transaction().set_context(user=0)):
/home/gnuhealth/.local/lib/python2.7/site-packages/trytond/modules/__init__.py:370: DeprecationWarning: With-statements now directly support multiple context managers
  with contextmanager:

Regards and thanks
Ronald Munjoma

reply via email to

[Prev in Thread] Current Thread [Next in Thread]