From 2380c258fa1fc16270f080cad3a0652de4ce7e11 Mon Sep 17 00:00:00 2001 From: Joel Bender Date: Sat, 27 Feb 2016 19:49:44 -0500 Subject: [PATCH] replace the wildcard import statement --- sandbox/extended_tag_list.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sandbox/extended_tag_list.py b/sandbox/extended_tag_list.py index 493f16c..2f9bc17 100644 --- a/sandbox/extended_tag_list.py +++ b/sandbox/extended_tag_list.py @@ -42,7 +42,10 @@ import re from bacpypes.debugging import bacpypes_debugging, ModuleLogger, xtob from bacpypes.consolelogging import ArgumentParser -from bacpypes.primitivedata import * +from bacpypes.primitivedata import Tag, TagList, OpeningTag, ClosingTag, \ + Atomic, Null, Boolean, Unsigned, Integer, \ + Real, Double, OctetString, CharacterString, BitString, Enumerated, \ + Date, Time, ObjectIdentifier # some debugging _debug = 0 @@ -317,7 +320,10 @@ def main(): # suck in the test content text = sys.stdin.read() + # parse it tag_list = ExtendedTagList(text) + + # dump it back out for tag in tag_list: tag.debug_contents()