Skip to content

Commit f303f4c

Browse files
author
Alexis
committed
api: abstract_paths_from_template sequence key - black formatting
1 parent 8ad1831 commit f303f4c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

python/tank/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,9 @@ def abstract_paths_from_template(self, template, fields):
702702
skip_keys.append(k)
703703

704704
# now carry out a regular search based on the template
705-
found_files = self.paths_from_template(search_template, fields, skip_keys=skip_keys)
705+
found_files = self.paths_from_template(
706+
search_template, fields, skip_keys=skip_keys
707+
)
706708

707709
# now collapse down the search matches for any abstract fields,
708710
# and add the leaf level if necessary

python/tank/templatekey.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,9 @@ def validate(self, value):
11411141
return super(SequenceKey, self).validate(value)
11421142

11431143
def is_framespec_format(self, value):
1144-
return isinstance(value, six.string_types) and value.startswith(self.FRAMESPEC_FORMAT_INDICATOR)
1144+
return isinstance(value, six.string_types) and value.startswith(
1145+
self.FRAMESPEC_FORMAT_INDICATOR
1146+
)
11451147

11461148
def _as_string(self, value):
11471149
if self.is_framespec_format(value):

0 commit comments

Comments
 (0)