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_create.py

    rfbee30a r62f3dd9  
    2626        client_opts.__init__(self)
    2727        self.add_option("--experiment_cert", dest="out_certfile",
     28                action="callback", callback=self.expand_file,
    2829                type="string", help="output certificate file")
    2930        self.add_option("--experiment_name", dest="exp_name",
    3031                type="string", help="Suggested experiment name")
    31         self.add_option("--file", dest="file",
     32        self.add_option("--file", dest="file", action="callback",
     33                callback=self.expand_file, type="str",
    3234                help="experiment description file")
    3335        self.add_option("--project", action="store", dest="project",
Note: See TracChangeset for help on using the changeset viewer.