Commit 07549b39 authored by owsla's avatar owsla

Use the correct method to update globals.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@1026 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 03131ca6
New in v1.3.2 (????/??/??)
---------------------------
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
......
......@@ -648,7 +648,7 @@ def get_readonly_fsa(desc_string, rp):
"""
if os.name == 'nt':
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