Skip to content

Commit

Permalink
Merge pull request #454 from carljm/get-available-name-max-length
Browse files Browse the repository at this point in the history
Add max_length arg to PipelineStorage.get_available_name.
  • Loading branch information
cyberdelia committed May 10, 2015
2 parents 7c0df36 + 0259d37 commit ea74ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def post_process(self, paths, dry_run=False, **options):
for name, hashed_name, processed in super_class.post_process(paths.copy(), dry_run, **options):
yield name, hashed_name, processed

def get_available_name(self, name):
def get_available_name(self, name, max_length=None):
if self.exists(name):
self.delete(name)
return name
Expand Down

0 comments on commit ea74ea4

Please sign in to comment.