iteritems() was dropped in recent Python3 releases and items() is compatible with Python 2.7.
- apply review comments - add visudo check cmd