Changes in tools/imgutil.py [4f4cae1:cc1a727] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/imgutil.py

    r4f4cae1 rcc1a727  
    9292                if name in exclude_names:
    9393                        continue
    94                
    9594                item = ItemToPack(path, name)
    96                
    9795                if not (item.is_dir or item.is_file):
    9896                        continue
    99                
    10097                yield item
    10198
     
    105102        inf = open(item.path, 'rb')
    106103        rd = 0
    107        
    108104        while (rd < item.size):
    109105                data = bytes(inf.read(chunk_size))
    110106                yield data
    111107                rd += len(data)
    112        
    113108        inf.close()
Note: See TracChangeset for help on using the changeset viewer.