Skip to content

Commit

Permalink
Merge bc0ff7d into 8fb40ed
Browse files Browse the repository at this point in the history
  • Loading branch information
david415 committed Dec 8, 2015
2 parents 8fb40ed + bc0ff7d commit ddebde1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/allmydata/scripts/create_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,6 @@ def create_node(config, out=sys.stdout, err=sys.stderr):
c.write("enabled = false\n")
c.write("\n")

c.write("[magic_folder]\n")
c.write("# Shall this node automatically upload files created or modified in a local directory?\n")
c.write("#enabled = false\n")
c.write("# To specify the target of uploads, a mutable directory writecap URI must be placed\n"
"# in '%s'.\n" % os.path.join('private', 'magic_folder_dircap'))
c.write("#local.directory = \n")
c.write("\n")

c.close()

from allmydata.util import fileutil
Expand Down
2 changes: 0 additions & 2 deletions src/allmydata/test/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,6 @@ def do_create(self, kind):
self.failUnless(re.search(r"\n\[storage\]\n#.*\nenabled = true\n", content), content)
self.failUnless("\nreserved_space = 1G\n" in content)

self.failUnless(re.search(r"\n\[magic_folder\]\n#.*\n#enabled = false\n", content), content)

# creating the node a second time should be rejected
rc, out, err = self.run_tahoe(argv)
self.failIfEqual(rc, 0, str((out, err, rc)))
Expand Down

0 comments on commit ddebde1

Please sign in to comment.