mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	cv_test_report: Fix whitespace
Signed-off-by: matthew <stidmatt@gmail.com>
This commit is contained in:
		@@ -1,9 +1,11 @@
 | 
				
			|||||||
import paramiko
 | 
					import paramiko
 | 
				
			||||||
from scp import SCPClient
 | 
					from scp import SCPClient
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class lanforge_reports:
 | 
					class lanforge_reports:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def pull_reports(self, hostname="localhost", port=22, username="lanforge", password="lanforge",
 | 
					    @staticmethod
 | 
				
			||||||
 | 
					    def pull_reports(hostname="localhost", port=22, username="lanforge", password="lanforge",
 | 
				
			||||||
                     report_location="/home/lanforge/html-reports/",
 | 
					                     report_location="/home/lanforge/html-reports/",
 | 
				
			||||||
                     report_dir="../../../reports/"):
 | 
					                     report_dir="../../../reports/"):
 | 
				
			||||||
        ssh = paramiko.SSHClient()
 | 
					        ssh = paramiko.SSHClient()
 | 
				
			||||||
@@ -14,4 +16,3 @@ class lanforge_reports:
 | 
				
			|||||||
        with SCPClient(ssh.get_transport()) as scp:
 | 
					        with SCPClient(ssh.get_transport()) as scp:
 | 
				
			||||||
            scp.get(remote_path=report_location, local_path=report_dir, recursive=True)
 | 
					            scp.get(remote_path=report_location, local_path=report_dir, recursive=True)
 | 
				
			||||||
            scp.close()
 | 
					            scp.close()
 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user