summaryrefslogtreecommitdiff
path: root/contexts.py
diff options
context:
space:
mode:
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>2009-07-19 02:07:55 +0200
committerNicolas Chauvat <nicolas.chauvat@logilab.fr>2009-07-19 02:07:55 +0200
commita1cdde3320add8bbe4557639488bb4d2ef2861fd (patch)
treef579949c7a7fb9b4efb8a6ccdfcd35484854662b /contexts.py
parent6bb5a230a8df5ed2fe417c7b85491073da50dfd3 (diff)
downloadlogilab-common-a1cdde3320add8bbe4557639488bb4d2ef2861fd.tar.gz
[cleanup] delete-trailing-whitespace
Diffstat (limited to 'contexts.py')
-rw-r--r--contexts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contexts.py b/contexts.py
index d88abfb..d44b339 100644
--- a/contexts.py
+++ b/contexts.py
@@ -1,4 +1,4 @@
-"""A few useful context managers
+"""A few useful context managers
:copyright: 2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
@@ -30,7 +30,7 @@ class tempdir(object):
class pushd(object):
def __init__(self, directory):
self.directory = directory
-
+
def __enter__(self):
self.cwd = os.getcwd()
os.chdir(self.directory)