Skip to content

Commit 6fa7af3

Browse files
author
Natalia-Hristova
committed
fix: plugin_add
1 parent f0f09f6 commit 6fa7af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/tns/tns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def plugin_add(name, attributes={}, log_trace=False, assert_success=True, tns_pa
363363
elif "/src" in name:
364364
short_name = name.rsplit('@', 1)[0].replace("/src", "").split(os.sep)[-1]
365365
else:
366-
print "Cannot extract the name of the plugin. It is not .tgz or its path is not pointing to /src."
366+
short_name = name
367367
assert "Successfully installed plugin {0}".format(short_name) in output
368368
return output
369369

0 commit comments

Comments
 (0)