commit 295d8c879069de55ae4206d99492b525230c1515
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Fri Jun 27 09:16:26 2014 +0200
Add a little more debugging information/output
pkgdb2_cli.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pkgdb2_cli.py b/pkgdb2_cli.py
index 375a448..7a9a1f7 100644
--- a/pkgdb2_cli.py
+++ b/pkgdb2_cli.py
@@ -65,6 +65,7 @@ def _get_active_branch(packagename=None):
''' Return a list of the active branch for a specific package or simply
all the active branches if no package is specified.
'''
+ LOG.debug("Retrieving all the active branches")
branches = []
if packagename:
output = pkgdbclient.get_package(packagename)
@@ -88,6 +89,7 @@ def _get_user_packages(username):
:arg username: the FAS username of the user of interest
'''
+ LOG.debug("Get the packages of user {0}".format(username))
pkgs = []
output = pkgdbclient.get_packages(poc=username)
for pkg in output['packages']:
Show replies by date