Update directory finders.

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-06-03 09:52:48 +00:00
parent a4ffcebff8
commit 2740cd6773
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 5 additions and 4 deletions

View File

@ -59,10 +59,11 @@ except NameError:
## Directory shortcuts:
_here = os.getcwd()
_test = os.path.join(os.path.join(_here, 'tests'), 'tmp') ## ./tests/tmp
_user = os.environ.get('HOME') ## $HOME
_ugpg = os.path.join(_user, '.gnupg') ## $HOME/.gnupg
#_here = os.getcwd()
_here = getabsfile(currentframe()).rsplit(os.path.sep, 1)[0] ## current dir
_test = os.path.join(os.path.join(_here, 'test'), 'tmp') ## ./tests/tmp
_user = os.environ.get('HOME') ## $HOME
_ugpg = os.path.join(_user, '.gnupg') ## $HOME/.gnupg
_conf = os.path.join(os.path.join(_user, '.config'), 'python-gnupg')
## $HOME/.config/python-gnupg