summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Pradet <quentin.pradet@gmail.com>2015-10-30 15:34:23 +0400
committerQuentin Pradet <quentin.pradet@gmail.com>2015-10-30 15:34:23 +0400
commit89c7c3d7f7a35e69ab4c7aea2871b572b9966dd3 (patch)
tree0119cea0eef40569a985645f3397c0ef6d252905
parentb12ca60ddafcc0dec35a994d44f8597ffdce8cea (diff)
downloadpyiso8601-89c7c3d7f7a35e69ab4c7aea2871b572b9966dd3.tar.gz
Remove debug logging
-rw-r--r--iso8601/iso8601.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/iso8601/iso8601.py b/iso8601/iso8601.py
index 396b2a9..b4ffc1c 100644
--- a/iso8601/iso8601.py
+++ b/iso8601/iso8601.py
@@ -14,14 +14,11 @@ from datetime import (
tzinfo
)
from decimal import Decimal
-import logging
import sys
import re
__all__ = ["parse_date", "ParseError", "UTC"]
-LOG = logging.getLogger(__name__)
-
if sys.version_info >= (3, 0, 0):
_basestring = str
else:
@@ -140,7 +137,6 @@ def to_int(d, key, default_to_zero=False, default=None, required=True):
"""
value = d.get(key) or default
- LOG.debug("Got %r for %r with default %r", value, key, default)
if (value in ["", None]) and default_to_zero:
return 0
if value is None:
@@ -193,7 +189,6 @@ def parse_date(datestring, default_timezone=UTC):
if not m:
raise ParseError("Unable to parse date string %r" % datestring)
groups = m.groupdict()
- LOG.debug("Parsed %s into %s with default timezone %s", datestring, groups, default_timezone)
tz = parse_timezone(groups, default_timezone=default_timezone)