summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Bcfg2/Client/Tools/VCS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/VCS.py b/src/lib/Bcfg2/Client/Tools/VCS.py
index 26e404cfa..3d19f5f1a 100644
--- a/src/lib/Bcfg2/Client/Tools/VCS.py
+++ b/src/lib/Bcfg2/Client/Tools/VCS.py
@@ -136,7 +136,7 @@ class VCS(Bcfg2.Client.Tools.Tool):
full_path = os.path.join(destname, fname)
dulwich.file.ensure_dir_exists(os.path.dirname(full_path))
- if dulwich.objects.S_ISGITLINK(mode):
+ if stat.S_ISLNK(mode):
src_path = destr[sha].as_raw_string()
try:
os.symlink(src_path, full_path)