Skip to content

Commit

Permalink
Merge pull request #112 from mnikhil-git/patch-1
Browse files Browse the repository at this point in the history
Update multi_interface.py to not bail out on metric_cleanup function
  • Loading branch information
jbuchbinder committed Jun 20, 2013
2 parents 1de6b70 + da6411c commit 9358136
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion network/multi_interface/python_modules/multi_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ def metric_init(params):

return descriptors

def metric_cleanup():
'''Clean up the metric module.'''
pass

def get_interfaces(watch_interfaces, excluded_interfaces):
global INTERFACES

Expand Down Expand Up @@ -202,4 +206,4 @@ def get_delta(name):
time.sleep(5)
except StandardError:
print sys.exc_info()[0]
os._exit(1)
os._exit(1)

0 comments on commit 9358136

Please sign in to comment.