Skip to content

Commit

Permalink
#109 Cleanup debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
ropapermaker committed Jun 4, 2023
1 parent 10649bd commit 29642a2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pygount/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,15 +520,12 @@ def close(self):
rmtree(self._source_patterns)
except OSError as e:
print(f"Error: {e.filename} - {e.strerror}.")
print("exit method called")

def __enter__(self):
print("enter")
return self

def __exit__(self, exc_type, exc_val, exc_tb):
self.close()
print("exit method called")
return False

@property
Expand Down

0 comments on commit 29642a2

Please sign in to comment.