summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Client')
-rw-r--r--src/lib/Bcfg2/Client/Tools/POSIX/Hardlink.py1
-rw-r--r--src/lib/Bcfg2/Client/Tools/VCS.py7
2 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/POSIX/Hardlink.py b/src/lib/Bcfg2/Client/Tools/POSIX/Hardlink.py
index 64a0b1e15..896ca5f49 100644
--- a/src/lib/Bcfg2/Client/Tools/POSIX/Hardlink.py
+++ b/src/lib/Bcfg2/Client/Tools/POSIX/Hardlink.py
@@ -12,4 +12,5 @@ class POSIXHardlink(POSIXLinkTool):
return os.path.samefile(entry.get('name'), entry.get('to'))
def _link(self, entry):
+ ## TODO: set permissions
return os.link(entry.get('to'), entry.get('name'))
diff --git a/src/lib/Bcfg2/Client/Tools/VCS.py b/src/lib/Bcfg2/Client/Tools/VCS.py
index 6c4c77426..fa3d22e1d 100644
--- a/src/lib/Bcfg2/Client/Tools/VCS.py
+++ b/src/lib/Bcfg2/Client/Tools/VCS.py
@@ -28,7 +28,6 @@ import Bcfg2.Client.Tools
class VCS(Bcfg2.Client.Tools.Tool):
"""VCS support."""
- name = 'VCS'
__handles__ = [('Path', 'vcs')]
__req__ = {'Path': ['name',
'type',
@@ -36,10 +35,6 @@ class VCS(Bcfg2.Client.Tools.Tool):
'sourceurl',
'revision']}
- def __init__(self, logger, cfg, setup):
- Bcfg2.Client.Tools.Tool.__init__(self, logger, cfg, setup)
- self.cfg = cfg
-
def git_write_index(self, entry):
"""Write the git index"""
pass
@@ -72,7 +67,7 @@ class VCS(Bcfg2.Client.Tools.Tool):
else:
os.remove(destname)
except OSError:
- self.logger.info('Failed to remove %s' % \
+ self.logger.info('Failed to remove %s' %
destname)
return False