summaryrefslogtreecommitdiffstats
path: root/src/fedora-qa
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2010-08-13 12:46:12 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2010-08-13 12:46:12 +0200
commit279d7c33511b971962c340cdb867feebdc77950e (patch)
tree016f65d214227c347d09303d7f9da92475de5c88 /src/fedora-qa
parent050360dc31c7cee41a47ca0150ef132919408aba (diff)
downloadfedora-packager-279d7c33511b971962c340cdb867feebdc77950e.tar.gz
fedora-packager-279d7c33511b971962c340cdb867feebdc77950e.tar.xz
fedora-packager-279d7c33511b971962c340cdb867feebdc77950e.zip
Avoid function calls as default param valuesfix/function-param-os.getcwd-default
A function call used as a default parameter value is evaluated once when the module code is first read in. However, the os.getcwd() function might give different results at run time than at module reading time. This replaces those default param values with None, and has the function bodies call os.getcwd() if the param happens to be None. See also http://docs.python.org/reference/compound_stmts.html#function-definitions
Diffstat (limited to 'src/fedora-qa')
0 files changed, 0 insertions, 0 deletions