changeset 364:417355f15282

merge
author Joseph Turian <turian@gmail.com>
date Thu, 03 Jul 2008 17:52:26 -0400
parents 9e84e8a20a75 (current diff) 00d57d3f33eb (diff)
children a04ce1e6ea54 3d5a483fe732
files
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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