diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-03-17 21:29:00 +0000 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-03-17 21:29:00 +0000 |
commit | d7e4f9a09ffee3d248f5cc4be3cd4248a5c97af4 (patch) | |
tree | 12bd4e5c85b2f06ee9f3fabf06cf31a5a715b979 /libbe/rcs.py | |
parent | 22083d49fd56fb016df0cd7e416d1dd447182a93 (diff) | |
download | bugseverywhere-d7e4f9a09ffee3d248f5cc4be3cd4248a5c97af4.tar.gz |
Switched tree format to mapfile-based
Diffstat (limited to 'libbe/rcs.py')
-rw-r--r-- | libbe/rcs.py | 8 |
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 |