Permalink
Browse files

Resave with excess whitespace removed

  • Loading branch information...
1 parent 7437ee9 commit dccb3e0e4048d30c21b2b5c4baa0a499ac5ec7d4 @jaraco committed Dec 11, 2012
Showing with 5 additions and 6 deletions.
  1. +5 −6 paver/path.py
View
@@ -20,15 +20,15 @@
@contextmanager
def pushd(dir):
- '''A context manager (Python 2.5+ only) for stepping into a
- directory and automatically coming back to the previous one.
+ '''A context manager (Python 2.5+ only) for stepping into a
+ directory and automatically coming back to the previous one.
The original directory is returned. Usage is like this::
-
+
from __future__ import with_statement
# the above line is only needed for Python 2.5
-
+
from paver.easy import *
-
+
@task
def my_task():
with pushd('new/directory') as old_dir:
@@ -85,4 +85,3 @@ def wrapper(*args, **kwds):
for name in _METHOD_BLACKLIST:
wrapper = _make_wrapper(name, getattr(_orig_path, name))
setattr(path, name, wrapper)
-

0 comments on commit dccb3e0

Please sign in to comment.