if ret:
raise Exception('git log was not successfull')
- #git_log_output = map(
- # lambda x: x.rstrip(),
- # git_log.stdout.readlines()
- #)
+ git_log_output = map(
+ lambda x: x.rstrip(),
+ git_log.stdout.readlines()
+ )
cmd = [
'--distribution',
'%s' %(options.distribution),
'--',
- '%s' %(''.join(git_log.stdout.read()))
+ '%s' %(''.join(git_log_output))
]
# '%s' %(git_log_output)
+ # '%s' %(''.join(git_log.stdout.read()))
logger.debug('Trying to call: %s' %(cmd))