# HG changeset patch # User Joseph Turian # Date 1215121946 14400 # Node ID 417355f152828f0dd982433e19ee63ff0e04e2be # Parent 9e84e8a20a75d9ecf9e305a2034e351f9c478f72# Parent 00d57d3f33ebf8734f09ebead4941589a70afdf8 merge diff -r 9e84e8a20a75 -r 417355f15282 common/misc.py --- a/common/misc.py Thu Jul 03 17:52:11 2008 -0400 +++ b/common/misc.py Thu Jul 03 17:52:26 2008 -0400 @@ -18,6 +18,13 @@ raise exceptions.RuntimeError return output +def homedir(): + import os + return os.environ["HOME"] +def utilsdir(): + import os + return os.environ["UTILS"] + def sign(i, assertions=True): """ + or - 1