forked from ungleich-public/cdist
++logs, +import sys at top level
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
aa81486fe9
commit
5e20ba5a13
2 changed files with 25 additions and 1 deletions
|
|
@ -200,11 +200,13 @@ def emulator():
|
|||
sys.exit(1)
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Sys is needed for sys.exit()
|
||||
import sys
|
||||
|
||||
try:
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
cdistpythonversion = '3.2'
|
||||
if sys.version < cdistpythonversion:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue