Skip to content

Commit

Permalink
Add missing hook to Generator base class
Browse files Browse the repository at this point in the history
  • Loading branch information
funkybob committed Mar 10, 2017
1 parent 50f500e commit ff4234d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions graaf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ def leave_dir(self, src_dir, dirs, files):
'''
pass

def finish(self, processor):
'''
Hook to allow Generators to react to end of processing.
'''
pass


def get_yaml(src):
'''
Expand Down

0 comments on commit ff4234d

Please sign in to comment.