[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] 3 commits: Missing /



Title: GitLab

Joerg Jaspert pushed to branch master at Debian FTP Team / dak

Commits:

2 changed files:

Changes:

  • dak/dakdb/update124.py
    ... ... @@ -111,7 +111,7 @@ def do_update(self):
    111 111
             for section in sections:
    
    112 112
                 c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
    
    113 113
                 c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='contrib/{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
    
    114
    -            c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='non-free{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
    
    114
    +            c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='non-free/{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
    
    115 115
     
    
    116 116
             c.execute("UPDATE config SET value = '124' WHERE name = 'db_revision'")
    
    117 117
             self.db.commit()
    

  • dak/write_sections.py
    ... ... @@ -35,7 +35,7 @@ from daklib.dbconn import *
    35 35
     ################################################################################
    
    36 36
     
    
    37 37
     
    
    38
    -def write_sections(archive, session):
    
    38
    +def write_sections(session):
    
    39 39
         query_sections = """
    
    40 40
         SELECT
    
    41 41
           section,
    
    ... ... @@ -49,7 +49,7 @@ def write_sections(archive, session):
    49 49
             (section, description, longdesc) = row
    
    50 50
             print("Section: {0}".format(section))
    
    51 51
             print("Description: {0}".format(description))
    
    52
    -        print(" {0}".format(longdesc))
    
    52
    +        print("Longdesc: {0}".format(longdesc))
    
    53 53
             print()
    
    54 54
     
    
    55 55
     ################################################################################
    


  • Reply to: