Changeset 62f3dd9 for fedd/fedd_new.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_new.py

    rfbee30a r62f3dd9  
    1414        client_opts.__init__(self)
    1515        self.add_option("--experiment_cert", dest="out_certfile",
    16                 type="string", help="output certificate file")
     16                action='callback', callback=self.expand_file, type='str',
     17                help="output certificate file")
    1718        self.add_option("--experiment_name", dest="exp_name",
    1819                type="string", help="Suggested experiment name")
Note: See TracChangeset for help on using the changeset viewer.