Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tidy up descfilter print statements

  • Loading branch information...
commit e86fd2e1f57839c7e728f49c3a7a9a61414b7bdc 1 parent e87985b
@casbon casbon authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 xdress/descfilter.py
View
7 xdress/descfilter.py
@@ -290,7 +290,6 @@ def skip_attrs(self, rc):
msg += 'in {1}. Moving on to next attr'
print(msg.format(m, k_key))
-
def include_methods(self, rc):
""" Alter a class description to include only a subset of methods """
if rc.includemethods is NotSpecified:
@@ -313,7 +312,7 @@ def skip_auto(self, rc):
""" Automatically remove any methods or attributes that use unknown types """
if rc.skipauto is NotSpecified:
return
- ts = rc.ts
+ ts = rc.ts
for src_name, cls_dict in rc.env.items():
for cls_name, cls_desc in cls_dict.items():
@@ -322,7 +321,6 @@ def skip_auto(self, rc):
attr_blacklist = []
for a_name, a_type in cls_desc['attrs'].items():
try:
- print(a_name, a_type)
ts.canon(a_type)
except TypeError:
@@ -333,9 +331,6 @@ def skip_auto(self, rc):
for a in attr_blacklist:
del cls_desc['attrs'][a]
- import pprint
- pprint.pprint(cls_desc)
-
method_blacklist = []
for m_sig, m_attr in cls_desc['methods'].items():
m_name = m_sig[0]
Please sign in to comment.
Something went wrong with that request. Please try again.