aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/rcs.py
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2005-03-17 21:29:00 +0000
committerAaron Bentley <abentley@panoramicfeedback.com>2005-03-17 21:29:00 +0000
commitd7e4f9a09ffee3d248f5cc4be3cd4248a5c97af4 (patch)
tree12bd4e5c85b2f06ee9f3fabf06cf31a5a715b979 /libbe/rcs.py
parent22083d49fd56fb016df0cd7e416d1dd447182a93 (diff)
downloadbugseverywhere-d7e4f9a09ffee3d248f5cc4be3cd4248a5c97af4.tar.gz
Switched tree format to mapfile-based
Diffstat (limited to 'libbe/rcs.py')
-rw-r--r--libbe/rcs.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/libbe/rcs.py b/libbe/rcs.py
index 0da1513..dd0c008 100644
--- a/libbe/rcs.py
+++ b/libbe/rcs.py
@@ -10,5 +10,9 @@ def set_file_contents(path, contents):
add_id(path)
def unlink(path):
- os.unlink(path)
- delete_id(filename)
+ try:
+ os.unlink(path)
+ delete_id(path)
+ except OSError, e:
+ if e.errno != 2:
+ raise