aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/no_rcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/no_rcs.py')
-rw-r--r--libbe/no_rcs.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/libbe/no_rcs.py b/libbe/no_rcs.py
index 9e4c47b..1c02725 100644
--- a/libbe/no_rcs.py
+++ b/libbe/no_rcs.py
@@ -17,9 +17,9 @@
from popen2 import Popen4
import os
import config
-from os import mkdir, unlink
+from os import unlink
-def add_id(filename):
+def add_id(filename, paranoid=False):
"""Compatibility function"""
pass
@@ -27,6 +27,9 @@ def delete_id(filename):
"""Compatibility function"""
pass
+def mkdir(path, paranoid=False):
+ os.mkdir(path)
+
def set_file_contents(path, contents):
add = not os.path.exists(path)
file(path, "wb").write(contents)