From 3de63b387d5bd0d721cbc1f5f42e7000e1bc6251 Mon Sep 17 00:00:00 2001 From: Rob Shakir Date: Fri, 8 Apr 2016 07:32:46 -0600 Subject: [PATCH] Remove erroreous version, and debugging output (#57) --- pyangbind/lib/__init__.py | 1 - pyangbind/lib/yangtypes.py | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyangbind/lib/__init__.py b/pyangbind/lib/__init__.py index 485f44ac..e69de29b 100644 --- a/pyangbind/lib/__init__.py +++ b/pyangbind/lib/__init__.py @@ -1 +0,0 @@ -__version__ = "0.1.1" diff --git a/pyangbind/lib/yangtypes.py b/pyangbind/lib/yangtypes.py index ebfbfb79..d7084e2a 100644 --- a/pyangbind/lib/yangtypes.py +++ b/pyangbind/lib/yangtypes.py @@ -213,9 +213,8 @@ def in_range_check(low_high_tuples, length=False): if all_none: raise AttributeError("Cannot specify a range that is all max " + "and min") - print low_high_tuples + def range_check(value): - print "value was %s in range check" % (value) if length and isinstance(value, bitarray): value = value.length() elif length: @@ -308,12 +307,10 @@ def in_dictionary_check(dictionary): if val is not False: for test in self._restriction_tests: - print "checking %s" % test passed = False if test(val) is not False: passed = True break - print" result %s" % passed if not passed: raise ValueError("%s does not match a restricted type" % val)