Switch to py3k absolute imports in _parsers module.

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-06-03 09:55:58 +00:00
parent 5e6a0d215d
commit 67ac4b31f9
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 7 additions and 6 deletions

View File

@ -15,17 +15,18 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # GNU Affero General Public License for more details.
''' '''parsers.py
parsers.py -------------
----------
Classes for parsing GnuPG status messages and sanitising commandline options. Classes for parsing GnuPG status messages and sanitising commandline options.
''' '''
from __future__ import absolute_import
from __future__ import print_function
import re import re
from _util import log from . import _util
from ._util import log
import _util
ESCAPE_PATTERN = re.compile(r'\\x([0-9a-f][0-9a-f])', re.I) ESCAPE_PATTERN = re.compile(r'\\x([0-9a-f][0-9a-f])', re.I)