summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--deprecation.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bd8a5a8..b42b3be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -41,7 +41,7 @@ ChangeLog for logilab.common
2010-09-28 -- 0.52.0
* testlib is now based on unittest2, to prepare its own extinction.
- Warning are printed so you can easily migration step by step.
+ Warning are printed so you can easily migrate step by step.
* restored python 2.3 compat in some modules, so one get a change to run
pylint at least
diff --git a/deprecation.py b/deprecation.py
index c43bc03..432dcab 100644
--- a/deprecation.py
+++ b/deprecation.py
@@ -84,7 +84,7 @@ def deprecated(reason=None, stacklevel=2):
return func(*args, **kwargs)
try:
wrapped.__name__ = func.__name__
- except TypeError: # readonly attribute in 2.3
+ except TypeError: # readonly attribute in 2.3
pass
wrapped.__doc__ = func.__doc__
return wrapped