~therealmik/+junk/python-ocfra

« back to all changes in this revision

Viewing changes to ocf/resourceagent.py

  • Committer: Michael Samuel
  • Date: 2011-05-09 04:12:26 UTC
  • Revision ID: msamuel@ipsystems.com.au-20110509041226-h44fawr27g3nxgey
Fixed __missing__ paste error

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
                        return p.datatype.topython(os.environ[p.envname])
28
28
                except KeyError:
29
29
                        if p.default is not None:
30
 
                                env.args[p.name] = p.default
 
30
                                self[p.name] = p.default
 
31
                                return p.default
31
32
                        else:
32
33
                                raise
33
34