Need the __future__ import for python2 if using print().
This commit is contained in:
parent
1013c53a94
commit
5b2a2998b8
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
from __future__ import print_function
|
||||
import selinux
|
||||
if selinux.is_selinux_enabled():
|
||||
print(selinux.security_policyvers())
|
||||
|
|
Loading…
Reference in New Issue