Update directory shortcuts in utils to reflect path changes.

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-05-18 04:35:45 +00:00
parent d3b190f4f2
commit 4ffe368230
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 6 additions and 8 deletions

View File

@ -52,14 +52,12 @@ except NameError:
## Directory shortcuts:
_here = os.getcwd() ## .../python-gnupg/src
_repo = _here.rsplit('src', 1)[0] ## .../python-gnupg
_test = os.path.join(os.path.join(_repo, 'tests'),
'tmp') ## .../python-gnupg/tests/tmp
_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
_conf = os.path.join(os.path.join(_user, '.config'),
'python-gnupg') ## $HOME/.config/python-gnupg
_conf = os.path.join(os.path.join(_user, '.config'), 'python-gnupg')
## $HOME/.config/python-gnupg
## Logger is disabled by default
log = _logger.create_logger(0)