URI: 
       tmove pkgname and group outside of the for loop in builddel - devuan-releasebot - devuan's releasebot reimplemented (scorsh version)
  HTML git clone git://parazyd.org/devuan-releasebot.git
   DIR Log
   DIR Files
   DIR Refs
   DIR LICENSE
       ---
   DIR commit eed3cc9dd7b75a0eb7addaf3a0a066ce70f8edd7
   DIR parent 17d8c403bcbd68df769c85d4f08878cd41dad35d
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Mon, 24 Jul 2017 18:08:08 +0200
       
       move pkgname and group outside of the for loop in builddel
       
       Diffstat:
         M builddel.py                         |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/builddel.py b/builddel.py
       t@@ -29,14 +29,15 @@ def main():
                print('Error in request. Possible authentication fail.')
                sys.exit(1)
        
       +    # the -4 cuts off '.git' from the path
       +    pkgname = basename(env['SCORSH_REPO'])[:-4]
       +    group = env['SCORSH_GROUP']
       +
            for jobt in jobtypes:
       -        # the -4 cuts off '.git' from the path
       -        pkgname = basename(env['SCORSH_REPO'])[:-4]
                jobname = '-'.join([pkgname, jobt])
        
                # TODO: here maybe correlate to config.buildgroups
                # i.e.: if not group in buildgroups: exit
       -        group = env['SCORSH_GROUP']
        
                print('* Trying to delete %s job for %s/%s' % (jobt, group, pkgname))