removed syslog.openlog

reviewable/pr18780/r1
Mark Hamilton 9 years ago
parent 0395de2f09
commit 018db7d068

@ -23,7 +23,6 @@
# along with this software. If not, see <http://www.gnu.org/licenses/>.
import syslog
import os
DOCUMENTATION = '''
---
@ -243,14 +242,10 @@ def main():
'timeout': {'default': 5, 'type': 'int'},
'set': {'required': False, 'default': None},
'external_ids': {'default': {}, 'required': False},
'syslogging': {'required': False, 'type': "bool", 'default': True}
},
supports_check_mode=True,
)
if (module.params["syslogging"]):
syslog.openlog('ansible-%s' % os.path.basename(__file__))
port = OVSPort(module)
if module.check_mode:
port.check()

Loading…
Cancel
Save