aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/winutils.py
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2015-08-26 07:57:23 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2015-08-26 07:57:23 -0300
commit70ceb871117ca811d63cb02671dc0fefc2700883 (patch)
tree846133ea39797d2cd1101cff2ac0818167353490 /nikola/winutils.py
parent8559119e2f45b7f6508282962c0430423bfab051 (diff)
parent787b97a4cb24330b36f11297c6d3a7a473a907d0 (diff)
Merge tag 'upstream/7.6.4'
Upstream version 7.6.4
Diffstat (limited to 'nikola/winutils.py')
-rw-r--r--nikola/winutils.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/nikola/winutils.py b/nikola/winutils.py
index 8e29f5b..3ea179b 100644
--- a/nikola/winutils.py
+++ b/nikola/winutils.py
@@ -24,7 +24,7 @@
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""windows utilities to workaround problems with symlinks in a git clone"""
+"""windows utilities to workaround problems with symlinks in a git clone."""
from __future__ import print_function, unicode_literals
import os
@@ -34,6 +34,7 @@ import io
def is_file_into_dir(filename, dirname):
+ """Check if a file is in directory."""
try:
res = not os.path.relpath(filename, dirname).startswith('.')
except ValueError:
@@ -42,7 +43,7 @@ def is_file_into_dir(filename, dirname):
def fix_all_git_symlinked(topdir):
- """inplace conversion of git symlinks to real content
+ """Convert git symlinks to real content.
Most (all?) of git implementations in windows store a symlink pointing
into the repo as a text file, the text being the relative path to the