From fd662b1e004cb94da1e539092632e1bcc3141cdf Mon Sep 17 00:00:00 2001 From: David Stainton Date: Sat, 12 Sep 2015 20:10:45 +0200 Subject: [PATCH] remove debug print statements --- src/allmydata/test/no_network.py | 2 -- src/allmydata/test/test_cli_magic_folder.py | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/allmydata/test/no_network.py b/src/allmydata/test/no_network.py index e3b4ef88..2dc59381 100644 --- a/src/allmydata/test/no_network.py +++ b/src/allmydata/test/no_network.py @@ -388,11 +388,9 @@ class GridTestMixin: def restart_client(self, i=0): client = self.g.clients[i] - #client_basedir = self.get_clientdir() d = defer.succeed(None) d.addCallback(lambda ign: self.g.removeService(client)) def _make_client(ign): - #self.set_clientdir(client_basedir, i) c = self.g.make_client(i, write_config=False) self.g.clients[i] = c self._record_webports_and_baseurls() diff --git a/src/allmydata/test/test_cli_magic_folder.py b/src/allmydata/test/test_cli_magic_folder.py index 3349fac3..8d1eb894 100644 --- a/src/allmydata/test/test_cli_magic_folder.py +++ b/src/allmydata/test/test_cli_magic_folder.py @@ -109,17 +109,13 @@ class MagicFolderCLITestMixin(CLITestMixin, GridTestMixin): return magicfolder def create_magicfolder(self, client_num=0): - print "create_magicfolder clientdir %s" % (self.get_clientdir(i=client_num),) dbfile = abspath_expanduser_unicode(u"private/magicfolderdb.sqlite", base=self.get_clientdir(i=client_num)) - print "create_magicfolder: dbfile: %s" % (dbfile,) self.collective_dircap, self.upload_dircap = self.get_caps_from_files(client_num) - self.magicfolder = MagicFolder(self.get_client(client_num), self.upload_dircap, self.collective_dircap, self.local_dir, dbfile, inotify=self.inotify, pending_delay=0.2) self.magicfolder.setServiceParent(self.get_client(client_num)) return self.magicfolder.ready() - def setup_alice_and_bob(self): self.set_up_grid(num_clients=2) -- 2.45.2