File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,15 @@ def lambda_handler(event, context=None):
20
20
""" Lambda handler """
21
21
logger .debug (event )
22
22
23
- # this try block is for testing and info only, it can be safely removed
24
- # it prints out info on the linked libraries found in libgdal
25
- try :
26
- output = subprocess .check_output ('ldd /opt/lib/libgdal.so' .split (' ' ))
27
- logger .info (output .decode ())
28
- except Exception as e :
29
- pass
23
+ # this try block is for testing and info only,
24
+ # it prints out info on the the libgdal binary and paths to linked libraries
25
+ #try:
26
+ # output = subprocess.check_output('readelf -d /opt/lib/libgdal.so'.split(' '))
27
+ # logger.info(output.decode())
28
+ # output = subprocess.check_output('ldd /opt/lib/libgdal.so'.split(' '))
29
+ # logger.info(output.decode())
30
+ #except Exception as e:
31
+ # pass
30
32
31
33
# process event payload and do something like this
32
34
fname = event .get ('filename' , test_filename )
You can’t perform that action at this time.
0 commit comments