From: Daira Hopwood Date: Thu, 23 Jul 2015 21:53:16 +0000 (+0100) Subject: Remove redundant call to abspath_expanduser_unicode. X-Git-Url: https://git.rkrishnan.org/$rel_link?a=commitdiff_plain;h=30cce60911002444ea64f9fbffc917315d2e276d;p=tahoe-lafs%2Ftahoe-lafs.git Remove redundant call to abspath_expanduser_unicode. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/frontends/magic_folder.py b/src/allmydata/frontends/magic_folder.py index 17c8bc96..995b652a 100644 --- a/src/allmydata/frontends/magic_folder.py +++ b/src/allmydata/frontends/magic_folder.py @@ -10,7 +10,7 @@ from twisted.application import service from allmydata.interfaces import IDirectoryNode from allmydata.util import log -from allmydata.util.fileutil import abspath_expanduser_unicode, precondition_abspath +from allmydata.util.fileutil import precondition_abspath from allmydata.util.assertutil import precondition from allmydata.util.encodingutil import listdir_unicode, to_filepath, \ unicode_from_filepath, quote_local_unicode_path, FilenameEncodingError @@ -48,7 +48,7 @@ class MagicFolder(service.MultiService): service.MultiService.__init__(self) self._stopped = False self._remote_scan_delay = 3 # XXX - self._local_dir = abspath_expanduser_unicode(local_dir) + self._local_dir = local_dir self._upload_lazy_tail = defer.succeed(None) self._upload_pending = set() self._download_scan_batch = {}