diff --git a/aws-sam-cli-master/samcli/lib/iac/plugins_interfaces.py b/aws-sam-cli-master/samcli/lib/iac/plugins_interfaces.py index 12058f1..c02fc51 100644 --- a/aws-sam-cli-master/samcli/lib/iac/plugins_interfaces.py +++ b/aws-sam-cli-master/samcli/lib/iac/plugins_interfaces.py @@ -703,7 +703,7 @@ def stacks(self, stacks: List[Stack]) -> None: @property def default_stack(self) -> Optional[Stack]: - if len(self._stacks) > 0: + if self._stacks: return self._stacks[0] return None diff --git a/aws-xray-sdk-python-master/sample-apps/flask/application.py b/aws-xray-sdk-python-master/sample-apps/flask/application.py index 9b20717..7b3b9bd 100644 --- a/aws-xray-sdk-python-master/sample-apps/flask/application.py +++ b/aws-xray-sdk-python-master/sample-apps/flask/application.py @@ -64,4 +64,4 @@ def default(): port = '5000' else: host, port = address.split(":") - app.run(host=host, port=int(port), debug=True) + app.run(host=host, port=int(port), debug=False)