summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2009-02-10 15:38:22 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2009-02-10 15:38:22 +0000
commit1ec2abdc64c72a1ac48f7d94255aea4ea6ef220c (patch)
tree0cbba8a5a1db4381fa13afcf74e0c02434ed79a9
parent161a115e38145fb2cea9fcdd75710df3a7ccc3c7 (diff)
downloadrdiff-backup-1ec2abdc64c72a1ac48f7d94255aea4ea6ef220c.tar.gz
Fix typo which caused failure when checking if another rdiff-backup process is
running on Windows. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1021 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG3
-rw-r--r--rdiff-backup/rdiff_backup/regress.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index c5bed0d..edc1660 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +1,9 @@
New in v1.3.2 (????/??/??)
---------------------------
+Fix typo which caused failure when checking if another rdiff-backup process is
+running on Windows. Thanks to Ryan for the bug report. (Andrew Ferguson)
+
Disable hardlinks by default on Windows when performing operations such as
--compare, etc. Thanks to Ryan for the bug report. (Andrew Ferguson)
diff --git a/rdiff-backup/rdiff_backup/regress.py b/rdiff-backup/rdiff_backup/regress.py
index f8d1f6d..4d7b6b6 100644
--- a/rdiff-backup/rdiff_backup/regress.py
+++ b/rdiff-backup/rdiff_backup/regress.py
@@ -351,6 +351,7 @@ def check_pids(curmir_incs):
except AttributeError:
assert os.name == 'nt'
import win32api, win32con, pywintypes
+ process = None
try:
process = win32api.OpenProcess(win32con.PROCESS_ALL_ACCESS,
0, pid)