- scp_command += "%s %s:%s/%s" % (local_file, self.hostname_part(),
- self.fullname(self.buildname),
- os.path.basename(local_file) or ".")
+ scp_command += "{} {}:{}/{}".format(local_file, self.hostname_part(),
+ self.fullname(self.buildname),
+ os.path.basename(local_file) or ".")