Skip to content

Commit

Permalink
Removed print messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nabil Maadarani committed Feb 27, 2014
1 parent 401c2ea commit be839ec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions OpenDaylight.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ def prepare_auth(self):
# stuff an HTTPBasicAuth object in here ready for use
self.auth = HTTPBasicAuth(self.setup['username'],
self.setup['password'])
#print("Prepare set up auth: " + self.setup['username'] + ', ' + \
# self.setup['password'])


class OpenDaylightFlow(object):
Expand Down Expand Up @@ -188,7 +186,7 @@ def get(self, node_id=None, flow_name=None):
self.flows = self.request.json()
if 'flowConfig' in self.flows:
self.flows = self.flows.get('flowConfig')
print(self.flows)

else:
raise OpenDaylightError({'url':self.odl.url,
'http_code':self.request.status_code,
Expand All @@ -202,7 +200,6 @@ def add(self, flow):
"""
if hasattr(self, 'request'):
del self.request
#print(flow)
self.odl.prepare(self.__app, '/node/' + flow['node']['type'] + '/' +
flow['node']['id'] + '/staticFlow/' + flow['name'] + '/')
headers = {'Content-type': 'application/json'}
Expand Down

0 comments on commit be839ec

Please sign in to comment.