Skip to content

Commit 099e87f

Browse files
committed
Remove some debugging stuff
1 parent dc86edc commit 099e87f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ def fix_exception_handler(root,atok):
11301130
if not root.type or not root.name:
11311131
mark_fixed(root)
11321132
return True
1133-
print("Exception Handler:\n",[root.first_token,root.last_token])
1133+
11341134
token = root.type.last_token
11351135
token = atok.find_token(next_token(atok,token),tokenize.NAME, root.name)
11361136
f = root.type.first_token

queries/argument.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SelectArgument(SelectionQuery):
2626
multiple_in = True
2727

2828
def get_information(self,query_description):
29-
print(self,query_description)
29+
# print(self,query_description)
3030
if "argument_index" in query_description:
3131
if query_description["argument_index"]==0:
3232
return make_information(get_argument_from_empty_call)
@@ -47,7 +47,7 @@ def get_information(self,query_description):
4747
return identity(match_node,ast.Call)
4848

4949
def get_statement(self,origin,atok):
50-
print("\norigin\n",ast.dump(origin))
50+
# print("\norigin\n",ast.dump(origin))
5151
self.global_constrained_space = None
5252
candidate_statement = search_upwards(origin,ast.stmt)
5353
big = (ast.If,ast.While,ast.For,ast.FunctionDef,ast.With,ast.ClassDef,ast.Try,ast.ExceptHandler)

0 commit comments

Comments
 (0)