Fix version number return
authorMorgan Richomme <morgan.richomme@orange.com>
Tue, 13 Oct 2015 15:44:49 +0000 (17:44 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Tue, 13 Oct 2015 15:44:49 +0000 (17:44 +0200)
JIRA: FUNCTEST-36

Change-Id: Icc4927abc5993535effd58658c3166b59afec93c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
testcases/functest_utils.py

index 31e41c9..59e89a5 100644 (file)
@@ -419,8 +419,7 @@ def get_git_branch(repo_path):
     """
     repo = Repo(repo_path)
     branch = repo.active_branch
-    print branch.name
-    return branch
+    return branch.name
 
 
 def get_installer_type(logger=None):