Skip to content

Commit f7a396d

Browse files
added support for py 3.9
1 parent d04d0a9 commit f7a396d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

blambda/deploy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,15 @@ def publish(name, role, zipfile, options, dryrun):
281281
print("Function Package: {} bytes".format(len(file_bytes)))
282282
if not dryrun:
283283
try:
284-
cprint(json.dumps(options))
284+
285285
cprint("Updating lambda function configuration", 'yellow')
286286
response = client.update_function_configuration(
287287
FunctionName=name,
288288
**options
289289
)
290290

291+
time.sleep(5)
292+
291293
cprint("Updating lambda function code", 'yellow')
292294
response = client.update_function_code(
293295
FunctionName=name,

0 commit comments

Comments
 (0)