Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make these facilities a bit more readable #13

Merged
merged 2 commits into from Aug 22, 2013
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

make these facilities a bit more readable

  • Loading branch information
Mike Blume
Mike Blume committed Aug 22, 2013
commit 71edfb4109ef0fd7866054d63d2cda6a879b15d3
@@ -226,14 +226,14 @@
}

# log facilities...
LOG_FACILITIES = {
"kern": 0 << 3, "user": 1 << 3, "mail": 2 << 3, "daemon": 3 << 3,
"auth": 4 << 3, "syslog": 5 << 3, "lpr": 6 << 3, "news": 7 << 3,
"uucp": 8 << 3, "cron": 9 << 3, "security": 10 << 3, "ftp": 11 << 3,
"ntp": 12 << 3, "logaudit": 13 << 3, "logalert": 14 << 3, "clock": 15 << 3,
"local0": 16 << 3, "local1": 17 << 3, "local2": 18 << 3, "local3": 19 << 3,
"local4": 20 << 3, "local5": 21 << 3, "local6": 22 << 3, "local7": 23 << 3
}
LOG_FACILITIES = dict([(k, v << 3) for k,v in {
"kern": 0, "user": 1, "mail": 2, "daemon": 3,
"auth": 4, "syslog": 5, "lpr": 6, "news": 7,
"uucp": 8, "cron": 9, "security": 10, "ftp": 11,
"ntp": 12, "logaudit": 13, "logalert": 14, "clock": 15,
"local0": 16, "local1": 17, "local2": 18, "local3": 19,
"local4": 20, "local5": 21, "local6": 22, "local7": 23
}.items()])

PYTHON_FAIL = "pythonfail"
PS_FAIL = "psfail"
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.