#244 batcave: Fix the two git hooks run in the ansible git repo in the batcave
Merged 3 years ago by pingou. Opened 3 years ago by pingou.
fedora-infra/ pingou/ansible fix_batcave_hooks  into  master

@@ -20,7 +20,6 @@ 

    - sudo

    - collectd/base

    - role: git/hooks

-     when: datacenter != 'iad2'

    - role: cgit/base

      when: datacenter != 'iad2'

    - role: cgit/clean_lock_cron

@@ -51,7 +51,7 @@ 

      if proc.returncode != 0:

          raise IOError('git rev-list failed: %r, err: %r' % (stdout, stderr))

  

-     for line in stdout.strip().split('\n'):

+     for line in stdout.decode('utf-8').strip().split('\n'):

          yield line.strip()