[Pkg-privacy-commits] [onionshare] 181/256: Made Settings debug log less verbose
Ulrike Uhlig
ulrike at moszumanska.debian.org
Fri May 26 12:53:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
ulrike pushed a commit to branch master
in repository onionshare.
commit 18ba9406693d75a9468e5a1fe3eedc270623174d
Author: Micah Lee <micah at micahflee.com>
Date: Tue May 16 13:01:57 2017 -0700
Made Settings debug log less verbose
---
onionshare/settings.py | 7 -------
1 file changed, 7 deletions(-)
diff --git a/onionshare/settings.py b/onionshare/settings.py
index d5d337e..0eeb5da 100644
--- a/onionshare/settings.py
+++ b/onionshare/settings.py
@@ -58,8 +58,6 @@ class Settings(object):
If there are any missing settings from self._settings, replace them with
their default values.
"""
- common.log('Settings', 'fill_in_defaults')
-
for key in self.default_settings:
if key not in self._settings:
self._settings[key] = self.default_settings[key]
@@ -68,8 +66,6 @@ class Settings(object):
"""
Returns the path of the settings file.
"""
- common.log('Settings', 'build_filename')
-
p = platform.system()
if p == 'Windows':
appdata = os.environ['APPDATA']
@@ -107,12 +103,9 @@ class Settings(object):
print(strings._('settings_saved').format(self.filename))
def get(self, key):
- common.log('Settings', 'get', 'key={} (val={})'.format(key, self._settings[key]))
return self._settings[key]
def set(self, key, val):
- common.log('Settings', 'set', 'key={}, val={}'.format(key, val))
-
# If typecasting int values fails, fallback to default values
if key == 'control_port_port' or key == 'socks_port':
try:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git
More information about the Pkg-privacy-commits
mailing list