File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- #!/usr/bin/env python3
2-
1+ #!/usr/bin/python3
32from blessed import Terminal
43import sys
54import subprocess
@@ -299,6 +298,7 @@ def checkDockerVersion():
299298 currentDockerVersion = currentDockerVersion .decode ("utf-8" ).rstrip ().replace ('"' , '' )
300299 except Exception as err :
301300 print ("Error attempting to run docker command:" , err )
301+ currentDockerVersion = ""
302302
303303 return checkVersion (requiredDockerVersion , currentDockerVersion )
304304
Original file line number Diff line number Diff line change 1+ #!/usr/bin/python3
12import sys
23
34if sys .argv [1 ] == "--pyyaml-version" :
78 sys .exit (0 )
89 except SystemExit :
910 sys .exit (0 )
10- except :
11+ except Exception :
1112 print ("could not get pyyaml version" )
1213 sys .exit (3 )
1314
1819 sys .exit (0 )
1920 except SystemExit :
2021 sys .exit (0 )
21- except :
22+ except Exception :
2223 print ("could not get ruamel.yaml version" )
2324 sys .exit (3 )
2425
2930 sys .exit (0 )
3031 except SystemExit :
3132 sys .exit (0 )
32- except :
33+ except Exception :
3334 print ("could not get blessed version" )
3435 sys .exit (3 )
You can’t perform that action at this time.
0 commit comments