Commit 03131ca6 authored by owsla's avatar owsla

Use the correct method to update globals


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@1025 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 0a3810f8
New in v1.2.7 (????/??/??)
---------------------------
Properly disable hardlinks by default on Windows.
Fix Python 2.2 compatibility. Closes Savannah bug #25529. (Andrew Ferguson)
Fix typo which caused failure when checking if another rdiff-backup process is
......
......@@ -605,7 +605,7 @@ def get_readonly_fsa(desc_string, rp):
if os.name == 'nt' and (desc_string == 'source' or
desc_string == 'rdiff-backup repository'):
log.Log("Hardlinks disabled by default on Windows", 4)
Globals.set('preserve_hardlinks', 0)
SetConnections.UpdateGlobal('preserve_hardlinks', 0)
return FSAbilities(desc_string).init_readonly(rp)
class SetGlobals:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment