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
3
2
from blessed import Terminal
4
3
import sys
5
4
import subprocess
@@ -299,6 +298,7 @@ def checkDockerVersion():
299
298
currentDockerVersion = currentDockerVersion .decode ("utf-8" ).rstrip ().replace ('"' , '' )
300
299
except Exception as err :
301
300
print ("Error attempting to run docker command:" , err )
301
+ currentDockerVersion = ""
302
302
303
303
return checkVersion (requiredDockerVersion , currentDockerVersion )
304
304
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/python3
1
2
import sys
2
3
3
4
if sys .argv [1 ] == "--pyyaml-version" :
7
8
sys .exit (0 )
8
9
except SystemExit :
9
10
sys .exit (0 )
10
- except :
11
+ except Exception :
11
12
print ("could not get pyyaml version" )
12
13
sys .exit (3 )
13
14
18
19
sys .exit (0 )
19
20
except SystemExit :
20
21
sys .exit (0 )
21
- except :
22
+ except Exception :
22
23
print ("could not get ruamel.yaml version" )
23
24
sys .exit (3 )
24
25
29
30
sys .exit (0 )
30
31
except SystemExit :
31
32
sys .exit (0 )
32
- except :
33
+ except Exception :
33
34
print ("could not get blessed version" )
34
35
sys .exit (3 )
You can’t perform that action at this time.
0 commit comments