summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2011-01-20 18:13:42 +0100
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2011-01-20 18:13:42 +0100
commit41a60a3d3a05a310a3a74f1a2fa6534788df60c7 (patch)
tree5124665f670bf818cfdf08d6ff1f288346d0a879
parent4ffceaa6add6e9f8a118d1ef92c87d40d6049de1 (diff)
downloadlogilab-common-41a60a3d3a05a310a3a74f1a2fa6534788df60c7.tar.gz
typos
-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