From f9283c910787217d2539e2f5447b0047b6d1f03e Mon Sep 17 00:00:00 2001 From: raheelzubairy Date: Sun, 11 Jun 2017 23:00:39 -0700 Subject: [PATCH] Upadate for logging --- .gitignore | 4 ++++ investmentportfolio.py | 1 + 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 0a2ce70..1635241 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# Build files # +###################### +__pycache__ + # OS generated files # ###################### .DS_Store diff --git a/investmentportfolio.py b/investmentportfolio.py index 8c3b221..714031d 100644 --- a/investmentportfolio.py +++ b/investmentportfolio.py @@ -30,6 +30,7 @@ def Get_Portfolios(): Retreives portfolio data by calling the Investment Portfolio service """ print ("Get Portfolios") + print ("User name: " + IP_R_username) #call the url BASEURL = "https://investment-portfolio.mybluemix.net/api/v1/portfolios/" headers = {