Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Update to improve Syslog daemon detection. #26
Conversation
We don't need to keep adding 1 to an index var. We can just have `enumerate()` start at 1 instead of 0
* No longer need to figure out distro before we decide to run `dpkg` or `rpm` to find which version of a daemon we are running * Add test for replacement method that detects the syslog daemon.
…pdates Conflicts: configure-syslog.py
Update to improve Syslog daemon detection.
| for i, version in enumerate(current_environment['syslog_versions']): | ||
| line = "\t%d. %s(%s)" % (i + 1, version[0], version[1]) | ||
| Logger.printLog(line, print_comp = True) | ||
| for i, version in enumerate(current_environment['syslog_versions'], 1): |
MichaelBlume
Aug 31, 2013
Contributor
nice
nice
No description provided.