diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-05-30 17:43:01 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-05-30 17:43:01 +1200 |
commit | a09f3e06c36f440b9975cbdb8379734eae9f47cc (patch) | |
tree | 51758aa1fb09962f64cbd46ff07ebe37f0fcc07e /libpathod/utils.py | |
parent | 4ed5043c67848bf717e48bc509d959422c8faeb6 (diff) | |
download | mitmproxy-a09f3e06c36f440b9975cbdb8379734eae9f47cc.tar.gz mitmproxy-a09f3e06c36f440b9975cbdb8379734eae9f47cc.tar.bz2 mitmproxy-a09f3e06c36f440b9975cbdb8379734eae9f47cc.zip |
Factor logger out of pathoc, use it in pathod as well.
Diffstat (limited to 'libpathod/utils.py')
-rw-r--r-- | libpathod/utils.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libpathod/utils.py b/libpathod/utils.py index dd0ae425..1475500a 100644 --- a/libpathod/utils.py +++ b/libpathod/utils.py @@ -10,11 +10,11 @@ SSLVERSIONS = { } SIZE_UNITS = dict( - b = 1024**0, - k = 1024**1, - m = 1024**2, - g = 1024**3, - t = 1024**4, + b = 1024 ** 0, + k = 1024 ** 1, + m = 1024 ** 2, + g = 1024 ** 3, + t = 1024 ** 4, ) |