Skip to content

Commit

Permalink
removed unused code and fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jan 12, 2015
1 parent b879228 commit 9f55d81
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rest/src/rest/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def __init__(self, plugin, session_c = None):

# prints a debug message about the starting of the loading
# of the session infra-structure (may block)
self.debug("Loading %s session into system", self.session_c.__name__)
self.debug("Loading %s session into system" % self.session_c.__name__)

# tries to run the loading process for the currently
# assigned session class in case it fails the session
Expand All @@ -186,7 +186,7 @@ def __init__(self, plugin, session_c = None):

# prints a message about the success in the loading of the session
# infra-structure into the current system (as expected)
self.debug("Successfully loaded %s session", self.session_c.__name__)
self.debug("Successfully loaded %s session" % self.session_c.__name__)

def get_handler_filename(self):
"""
Expand Down Expand Up @@ -311,8 +311,6 @@ def handle_request(self, request):
# otherwise it's a "general" request and the typical handling
# strategy is going to be performed (as usual)
else:

print("tobias1")
# iterates over all the matching regex in the matching regex list
for matching_regex in self.matching_regex_list:
# retrieves the resource path match and in case there is
Expand Down

0 comments on commit 9f55d81

Please sign in to comment.