/usr/lib/python3/dist-packages/braintree/merchant.py is in python3-braintree 3.38.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | from braintree.resource import Resource
from braintree.merchant_account import MerchantAccount
class Merchant(Resource):
def __init__(self, gateway, attributes):
Resource.__init__(self, gateway, attributes)
if "merchant_accounts" in attributes:
self.merchant_accounts = [MerchantAccount(gateway, ma) for ma in attributes.get("merchant_accounts")]
|