Python 2.6 deprecations
Bug #378889 reported by
Stani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Phatch |
Fix Released
|
Low
|
Stani |
Bug Description
Check if these deprecations can be compatible between python 2.5 and 2.6
/home/stani/
self.message = message
Changed in phatch: | |
assignee: | nobody → stani (stani) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in phatch: | |
milestone: | none → 0.2.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
$ bzr diff core/lib/ formField. py' core/lib/ formField. py 2009-05-21 05:02:17 +0000 core/lib/ formField. py 2009-05-22 03:10:58 +0000
self. expected = expected
self. details = details
=== modified file 'phatch/
--- phatch/
+++ phatch/
@@ -270,11 +270,11 @@
message - message why validation failed
details - eg. which variables are allowed"""
- self.message = message
+ self._message = message
def __str__(self):
- return self.message
+ return self._message
#---field mixins
class PilConstantMixin:
$ bzr commit -m "fix exception message deprecation warning for python 2.6" sync/python/ phatch/ trunk/ core/lib/ formField. py
Committing to: /home/stani/
modified phatch/
Committed revision 584.