Changeset effd4f6


Ignore:
Timestamp:
Apr 6, 2012 2:39:19 PM (8 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, master
Children:
cde9b98
Parents:
bfbaa85
Message:

More digits in auto file names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/authorizer.py

    rbfbaa85 reffd4f6  
    536536                # _attr are required by ABAC.COntext.load_directory()
    537537                if id and id not in seenid:
    538                     f = open("%s/certs/ID_%03d_ID.der" % (dir, ii), "w")
     538                    f = open("%s/certs/ID_%05d_ID.der" % (dir, ii), "w")
    539539                    f.write(id)
    540540                    f.close()
     
    542542                    seenid.add(id)
    543543                if attr and attr not in seenattr:
    544                     f = open("%s/certs/attr_%03d_attr.der" % (dir, ai), "w")
     544                    f = open("%s/certs/attr_%05d_attr.der" % (dir, ai), "w")
    545545                    f.write(attr)
    546546                    f.close()
Note: See TracChangeset for help on using the changeset viewer.