swift-rings.py has some unused functions
Bug #1474334 reported by
Andy McCrae
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Low
|
Andy McCrae | ||
Kilo |
Fix Released
|
Low
|
Jesse Pretorius | ||
Trunk |
Fix Released
|
Low
|
Andy McCrae |
Bug Description
The following 2 functions are not used and only call eachother:
def has_section(conf, section):
return True if conf.get(section) else False
def check_section(conf, section):
if not has_section(conf, section):
sys.exit(2)
They should be removed for the sake of clarity.
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/201531
Review: https:/