From: Christian Herdtweck Date: Mon, 5 Nov 2018 10:23:34 +0000 (+0100) Subject: Fix doc string for sysmisc.cd() X-Git-Tag: v1.4~17^2~1 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=79da5258186b9c430cc044b771e0f9b14e1fe746;p=pyi2ncommon Fix doc string for sysmisc.cd() Thanks to Plamen for hint --- diff --git a/src/sysmisc.py b/src/sysmisc.py index 6898f31..12d2c88 100644 --- a/src/sysmisc.py +++ b/src/sysmisc.py @@ -118,6 +118,8 @@ def cd(path): Taken from comment for python recipe by Greg Warner at http://code.activestate.com/recipes/576620-changedirectory-context-manager/ (MIT license) + + :arg str path: paht to temporarily switch to """ orig_wd = os.getcwd() os.chdir(path)