Skip to content

Commit 8ddde7e

Browse files
author
Mathieu
committed
🎨 black
1 parent 1cf4e9c commit 8ddde7e

File tree

1 file changed

+5
-1
lines changed
  • python/tank/descriptor/io_descriptor

1 file changed

+5
-1
lines changed

python/tank/descriptor/io_descriptor/git.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ def __call__(cls, descriptor_dict, sg_connection, bundle_type):
7373
if (
7474
descriptor_dict["type"] == "git_branch"
7575
): # cant fetch last commit here, too soon
76-
version = "-".join(filter(None, [descriptor_dict.get("version"), descriptor_dict["branch"]]))
76+
version = "-".join(
77+
filter(
78+
None, [descriptor_dict.get("version"), descriptor_dict["branch"]]
79+
)
80+
)
7781
else:
7882
version = descriptor_dict["version"]
7983

0 commit comments

Comments
 (0)