Changeset 62f3dd9 for fedd/fedd_info.py


Ignore:
Timestamp:
Dec 10, 2010 9:00:16 AM (13 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master
Children:
913dc7a
Parents:
fbee30a
git-author:
Ted Faber <faber@…> (12/09/10 11:41:45)
git-committer:
Ted Faber <faber@…> (12/10/10 09:00:16)
Message:

allow command line progams to expand tildes. Added a class derived from OptionParser? to make that easily available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/fedd_info.py

    rfbee30a r62f3dd9  
    1111        client_opts.__init__(self)
    1212        self.add_option("--experiment_cert", dest="exp_certfile",
    13                 type="string", help="experiment certificate file")
     13                action='callback', callback=self.expand_file, type='str',
     14                help="experiment certificate file")
    1415        self.add_option("--experiment_name", dest="exp_name",
    1516                type="string", help="human readable experiment name")
Note: See TracChangeset for help on using the changeset viewer.