diff --git a/lib/ClusterShell/NodeSet.py b/lib/ClusterShell/NodeSet.py index 2127affe..18ad449b 100644 --- a/lib/ClusterShell/NodeSet.py +++ b/lib/ClusterShell/NodeSet.py @@ -54,21 +54,20 @@ import string import sys -# Python 3 compatibility -try: - basestring -except NameError: - basestring = str - from ClusterShell.Defaults import config_paths, DEFAULTS import ClusterShell.NodeUtils as NodeUtils # Import all RangeSet module public objects from ClusterShell.RangeSet import RangeSet, RangeSetND, AUTOSTEP_DISABLED -from ClusterShell.RangeSet import RangeSetException, RangeSetParseError -from ClusterShell.RangeSet import RangeSetPaddingError +from ClusterShell.RangeSet import RangeSetParseError +# Python 3 compatibility +try: + basestring +except NameError: + basestring = str + # Define default GroupResolver object used by NodeSet DEF_GROUPS_CONFIGS = config_paths('groups.conf') ILLEGAL_GROUP_CHARS = set("@,!&^*")