commit 6ea67e000088e536f59bf48dc76612b18bf8e411 Author: Arturo Filastò art@fuffa.org Date: Mon Jan 5 16:27:04 2015 +0100
Remove unused reports_directory --- ooni/settings.py | 3 --- 1 file changed, 3 deletions(-)
diff --git a/ooni/settings.py b/ooni/settings.py index 71b449e..4dc2221 100644 --- a/ooni/settings.py +++ b/ooni/settings.py @@ -98,7 +98,6 @@ class OConfig(object):
self.inputs_directory = os.path.join(self.ooni_home, 'inputs') self.decks_directory = os.path.join(self.ooni_home, 'decks') - self.reports_directory = os.path.join(self.ooni_home, 'reports') self.report_log_file = os.path.join(self.ooni_home, 'reporting.yml') self.resources_directory = os.path.join(self.data_directory, 'resources') @@ -123,8 +122,6 @@ class OConfig(object): os.mkdir(self.ooni_home) os.mkdir(self.inputs_directory) os.mkdir(self.decks_directory) - if not os.path.isdir(self.reports_directory): - os.mkdir(self.reports_directory)
def _create_config_file(self): target_config_file = self.config_file
tor-commits@lists.torproject.org