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

[Git][ftp-team/dak][master] 2 commits: fix syntax error



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

2 changed files:

Changes:

  • dak/generate_index_diffs.py
    ... ... @@ -89,7 +89,7 @@ def smartstat(file):
    89 89
     
    
    90 90
     def smartlink(f, t):
    
    91 91
         def call_decompressor(cmd, inpath, outpath):
    
    92
    -        with open(inpath, "rb") as stdin, open(outpath, "wb") as stdout):
    
    92
    +        with open(inpath, "rb") as stdin, open(outpath, "wb") as stdout:
    
    93 93
                 return daklib.daksubprocess.check_call(cmd, stdin=stdin, stdout=stdout)
    
    94 94
     
    
    95 95
         if os.path.isfile(f):
    

  • daklib/dakapt.py
    ... ... @@ -39,7 +39,7 @@ class DakHashes(object):
    39 39
             try:
    
    40 40
                 return h.hashvalue
    
    41 41
             except AttributeError:
    
    42
    -            return str(h)[len(name)+1:]
    
    42
    +            return str(h)[len(name) + 1:]
    
    43 43
     
    
    44 44
         @property
    
    45 45
         def md5(self):
    


  • Reply to: