commit | 7574a50f186fcf3fc267dc58e77273bfbddc75e8 | [log] [tgz] |
---|---|---|
author | Michal Srb <msrb@redhat.com> | Tue Jul 21 02:38:22 2015 +0200 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Wed Jul 22 09:20:44 2015 -0400 |
tree | 25eefe2400b591de843498438da45bcf5df3481d | |
parent | 349239e677d491d6cd3413e4a23075c88bb5372e [diff] |
policycoreutils/scripts: improve compatibility with Python 3 - __builtin__ module has been renamed to "builtins" in Python 3 - use reserved word `as` in try-except - replace print statement with print function - migrate from commands to subprocess - fix formatting Signed-off-by: Michal Srb <msrb@redhat.com>