Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 4f4cae1 in mainline


Ignore:
Timestamp:
2012-04-13T14:46:01Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
7751ff1
Parents:
d11a181
Message:

cstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/imgutil.py

    rd11a181 r4f4cae1  
    9292                if name in exclude_names:
    9393                        continue
     94               
    9495                item = ItemToPack(path, name)
     96               
    9597                if not (item.is_dir or item.is_file):
    9698                        continue
     99               
    97100                yield item
    98101
     
    102105        inf = open(item.path, 'rb')
    103106        rd = 0
     107       
    104108        while (rd < item.size):
    105109                data = bytes(inf.read(chunk_size))
    106110                yield data
    107111                rd += len(data)
     112       
    108113        inf.close()
Note: See TracChangeset for help on using the changeset viewer.