From 44844896900b16df5f787f30973dde5d060c7823 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Thu, 30 Jan 2020 18:34:47 -0600 Subject: [PATCH] Added boilerplate to gettransports --- src/utils/gettransports.py | 19 +++++++++++++++++++ tests/runtime-result.txt | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/utils/gettransports.py b/src/utils/gettransports.py index 5da882fd..7fa23b16 100644 --- a/src/utils/gettransports.py +++ b/src/utils/gettransports.py @@ -1,6 +1,25 @@ +"""Onionr - Private P2P Communication. + +return a list of strings of the user's transport addresses for the main +Onionr protocol +""" from gevent import time import filepaths +""" + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +""" files = [filepaths.tor_hs_address_file] diff --git a/tests/runtime-result.txt b/tests/runtime-result.txt index dc260cdd..0ff2042b 100644 --- a/tests/runtime-result.txt +++ b/tests/runtime-result.txt @@ -1 +1 @@ -1580371028 \ No newline at end of file +1580372474 \ No newline at end of file