File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2929 @localstack logs > logs.txt
3030
3131test-ci :
32- make start install ready run; return_code=` echo $$ ? ` ; \
32+ make install start ready run; return_code=` echo $$ ? ` ; \
3333 make logs; make stop; exit $$ return_code;
3434
3535.PHONY : usage install start run stop ready logs test-ci
Original file line number Diff line number Diff line change 11import io
22import time
3- import uuid
43import boto3
5- from ftplib import FTP , FTP_TLS
4+ from ftplib import FTP
5+ import re
66
77EDGE_URL = 'http://localhost:4566'
88
@@ -29,7 +29,8 @@ def create_transfer_api():
2929 time .sleep (1 )
3030
3131 server_id = rs ['ServerId' ]
32- port = int (server_id .split (':' )[1 ])
32+ match = re .match (r"^s-[a-z]*([0-9]{4,5})$" , server_id )
33+ port = int (match .group (1 ))
3334
3435 s3_client .create_bucket (Bucket = BUCKET )
3536
You can’t perform that action at this time.
0 commit comments