Skip to content

Commit 62e8aa9

Browse files
committed
debug rep bucket
1 parent 56ff6f3 commit 62e8aa9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

code/fixtf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def fixtf(ttft,tf):
279279
if ttft=="aws_s3_bucket_replication_configuration":
280280
for t1 in Lines:
281281
t1=t1.strip()
282-
#if globals.debug5: print("DEBUG5: pre scan block: t1=", t1)
282+
if globals.debug5: print("DEBUG5: pre scan block: t1=", t1)
283283
skip=0
284284
tt1=t1.split("=")[0].strip()
285285
if tt1=="bucket":

code/get_aws_resources/aws_s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def get_s3(s3_fields,type,bucket_name):
247247
try:
248248
#print("HERE ....")
249249
barn=str(response['ReplicationConfiguration']['Rules'][0]['Destination']['Bucket'])
250-
#print("replication bucket="+barn)
250+
if globals.debug5: print("get_s3: replication bucket="+barn)
251251
repbuck=barn.split(":")[-1]
252252
#print("replication bucket="+repbuck)
253253
common.add_known_dependancy("aws_s3_bucket",repbuck)

0 commit comments

Comments
 (0)