summaryrefslogtreecommitdiff
path: root/optik_ext.py
diff options
context:
space:
mode:
authorsylvain thenault <sylvain.thenault@logilab.fr>2009-01-26 13:49:55 +0100
committersylvain thenault <sylvain.thenault@logilab.fr>2009-01-26 13:49:55 +0100
commitda01da92740c5210af6e56361084ba3cb5855e9d (patch)
tree47053000808754fb1a2d7be1faab5732acf92728 /optik_ext.py
parent85357ee284a99b2af1a90630f5b2e0f5822ec9dc (diff)
downloadlogilab-common-da01da92740c5210af6e56361084ba3cb5855e9d.tar.gz
pylint fixes, kill some old bw compat code
Diffstat (limited to 'optik_ext.py')
-rw-r--r--optik_ext.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/optik_ext.py b/optik_ext.py
index 81d75a8..01537ee 100644
--- a/optik_ext.py
+++ b/optik_ext.py
@@ -169,11 +169,11 @@ def check_color(option, opt, value):
def check_time(option, opt, value):
from logilab.common.textutils import TIME_UNITS, apply_units
- apply_unit(value, TIME_UNITS)
+ apply_units(value, TIME_UNITS)
def check_bytes(option, opt, value):
- from logilab.common.textutils import BYTES_UNITS, apply_units
- apply_unit(value, BYTES_UNITS)
+ from logilab.common.textutils import BYTE_UNITS, apply_units
+ apply_units(value, BYTE_UNITS)
import types