summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
authorBruno Wagner <bwgpro@gmail.com>2015-06-04 19:21:24 -0300
committerBruno Wagner <bwgpro@gmail.com>2015-06-04 19:25:59 -0300
commit00c11da60aed649448ddebc0007e2bb88a0201e8 (patch)
treead454912c999b7edca6ac8b72c08311e25843b80 /service/pixelated
parent492c6ca2aee8ffcb74e6cb7549542e4bae97bbb7 (diff)
Config is not used anymore
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/config/config.py33
-rw-r--r--service/pixelated/config/initialize_leap.py1
-rw-r--r--service/pixelated/maintenance.py2
3 files changed, 0 insertions, 36 deletions
diff --git a/service/pixelated/config/config.py b/service/pixelated/config/config.py
deleted file mode 100644
index a346344c..00000000
--- a/service/pixelated/config/config.py
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Copyright (c) 2014 ThoughtWorks, Inc.
-#
-# Pixelated is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Pixelated 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 Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
-
-
-class Config(dict):
-
- def __getattr__(self, name):
- if name in self:
- return self[name]
- else:
- raise AttributeError("No such attribute: " + name)
-
- def __setattr__(self, name, value):
- self[name] = value
-
- def __delattr__(self, name):
- if name in self:
- del self[name]
- else:
- raise AttributeError("No such attribute: " + name)
diff --git a/service/pixelated/config/initialize_leap.py b/service/pixelated/config/initialize_leap.py
index 3ddc3a57..7b600bf8 100644
--- a/service/pixelated/config/initialize_leap.py
+++ b/service/pixelated/config/initialize_leap.py
@@ -1,4 +1,3 @@
-from pixelated.config.config import Config
from pixelated.config import credentials
from leap.common.events import server as events_server
import pixelated.bitmask_libraries.certs as certs
diff --git a/service/pixelated/maintenance.py b/service/pixelated/maintenance.py
index dfbd1931..c3e021b4 100644
--- a/service/pixelated/maintenance.py
+++ b/service/pixelated/maintenance.py
@@ -15,7 +15,6 @@
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
from mailbox import Maildir
-from pixelated.config.config import Config
from pixelated.config.args import parse_maintenance_args
from pixelated.config.initialize_leap import initialize_leap
from pixelated.config.logging_setup import init_logging
@@ -35,7 +34,6 @@ import pixelated.support.ext_requests_urllib3
def initialize():
args = parse_maintenance_args()
- app = Config()
init_logging(debug=args.debug)